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.7 KB
Makefile -rw-r--r-- 422 bytes
addr.c -rw-r--r-- 3.8 KB
addr.h -rw-r--r-- 615 bytes
atm_misc.c -rw-r--r-- 2.6 KB
atm_sysfs.c -rw-r--r-- 4.1 KB
br2684.c -rw-r--r-- 23.2 KB
clip.c -rw-r--r-- 22.3 KB
common.c -rw-r--r-- 21.6 KB
common.h -rw-r--r-- 1.6 KB
ioctl.c -rw-r--r-- 9.2 KB
lec.c -rw-r--r-- 60.2 KB
lec.h -rw-r--r-- 5.1 KB
lec_arpc.h -rw-r--r-- 2.9 KB
mpc.c -rw-r--r-- 38.2 KB
mpc.h -rw-r--r-- 1.9 KB
mpoa_caches.c -rw-r--r-- 14.7 KB
mpoa_caches.h -rw-r--r-- 3.0 KB
mpoa_proc.c -rw-r--r-- 7.2 KB
pppoatm.c -rw-r--r-- 15.6 KB
proc.c -rw-r--r-- 11.5 KB
protocols.h -rw-r--r-- 379 bytes
pvc.c -rw-r--r-- 3.7 KB
raw.c -rw-r--r-- 1.8 KB
resources.c -rw-r--r-- 9.9 KB
resources.h -rw-r--r-- 1019 bytes
signaling.c -rw-r--r-- 6.8 KB
signaling.h -rw-r--r-- 838 bytes
svc.c -rw-r--r-- 16.4 KB

back to top