OSDN Git Service

clk: sunxi: "cpu_data" is defined in header files of some architectures
authorGiacomo A. Catenazzi <cate@cateee.net>
Fri, 17 May 2013 13:43:20 +0000 (10:43 -0300)
committerMike Turquette <mturquette@linaro.org>
Wed, 29 May 2013 22:48:23 +0000 (15:48 -0700)
commit61fd58dc578d40c1cfe2691380c42860c6fff809
tree72332be2241fa1273858bba4c92188b215366f72
parent0e56523fd743fa67c21d31abf82e88a4a38decc3
clk: sunxi: "cpu_data" is defined in header files of some architectures

In some architectures, the #define cpu_data is not a "macro-function",
so the compiler will substitute the identifier with probably something
wrong.

Signed-off-by: Giacomo A. Catenazzi <cate@cateee.net>
Signed-off-by: Emilio López <emilio@elopez.com.ar>
[emilio@elopez.com.ar: use cpu_mux_data instead of this_cpu_data]
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/sunxi/clk-sunxi.c