Revision db7ef289a2f6a4a72c7715076dfd44e9f393b29c authored by Chen Gang on 14 March 2014, 01:19:39 UTC, committed by Guan Xuetao on 20 June 2014, 00:22:37 UTC
Add readl() and writel() for 'PM_' macros, just like another areas have
done within unicored32, or will cause compiling issue.

The related error (allmodconfig for unicored32):

    CC      arch/unicore32/kernel/clock.o
  arch/unicore32/kernel/clock.c: In function 'clk_set_rate':
  arch/unicore32/kernel/clock.c:182: warning: initialization makes integer from pointer without a cast
  arch/unicore32/kernel/clock.c:204: error: lvalue required as left operand of assignment
  arch/unicore32/kernel/clock.c:206: error: lvalue required as left operand of assignment
  arch/unicore32/kernel/clock.c:207: error: invalid operands to binary & (have 'void *' and 'long unsigned int')
  make[1]: *** [arch/unicore32/kernel/clock.o] Error 1
  make: *** [arch/unicore32/kernel] Error 2

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
1 parent df8e4c7
History
File Mode Size
Kconfig -rw-r--r-- 2.2 KB
Makefile -rw-r--r-- 342 bytes
xfrm_algo.c -rw-r--r-- 13.8 KB
xfrm_hash.c -rw-r--r-- 766 bytes
xfrm_hash.h -rw-r--r-- 3.1 KB
xfrm_input.c -rw-r--r-- 8.5 KB
xfrm_ipcomp.c -rw-r--r-- 7.6 KB
xfrm_output.c -rw-r--r-- 4.8 KB
xfrm_policy.c -rw-r--r-- 75.8 KB
xfrm_proc.c -rw-r--r-- 3.3 KB
xfrm_replay.c -rw-r--r-- 14.2 KB
xfrm_state.c -rw-r--r-- 55.1 KB
xfrm_sysctl.c -rw-r--r-- 1.8 KB
xfrm_user.c -rw-r--r-- 70.1 KB

back to top