]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
arch/unicore32/kernel/clock.c: add readl() and writel() for 'PM_' macros
authorChen Gang <gang.chen.5i5j@gmail.com>
Fri, 14 Mar 2014 01:19:39 +0000 (09:19 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Fri, 20 Jun 2014 00:22:37 +0000 (08:22 +0800)
commitdb7ef289a2f6a4a72c7715076dfd44e9f393b29c
tree80a1c4f06b914c5bd52e86ff4083e27cdb003eb5
parentdf8e4c7d8d756d93da676b532c39f8d1d9ceab77
arch/unicore32/kernel/clock.c: add readl() and writel() for 'PM_' macros

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>
arch/unicore32/kernel/clock.c