diff options
author | Anson Huang <b20788@freescale.com> | 2011-12-28 10:59:02 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 21:13:11 +0800 |
commit | d1e14a9bf00969c21dd8114f930e772ff37ba350 (patch) | |
tree | d48b1fe28df90e31a8e76272fc20349025432ea6 /arch/arm | |
parent | 4578127ca141c648f8703e6d1dd7289f620c27f9 (diff) |
ENGR00171000 [MX6]Fix build warning
Fix the following build warning:
1.arch/arm/mach-mx6/cpu.c:36: warning: function declaration isn't a
prototype
2.arch/arm/mach-mx6/system.c:55: warning: function declaration isn't a
prototype
3.arch/arm/mach-mx6/board-mx6q_sabreauto.c:751: warning: unused variable
'iterations'
Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabreauto.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx6/cpu.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx6/system.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index 3dfbb39e0002..e5dde074e026 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -748,7 +748,7 @@ static struct viv_gpu_platform_data imx6q_gpu_pdata __initdata = { static int mx6q_sabreauto_sata_init(struct device *dev, void __iomem *addr) { u32 tmpdata; - int ret = 0, iterations = 20; + int ret = 0; struct clk *clk; sata_clk = clk_get(dev, "imx_sata_clk"); diff --git a/arch/arm/mach-mx6/cpu.c b/arch/arm/mach-mx6/cpu.c index 81f691cb35b5..da7d442eeae7 100644 --- a/arch/arm/mach-mx6/cpu.c +++ b/arch/arm/mach-mx6/cpu.c @@ -33,7 +33,7 @@ void *mx6_wait_in_iram_base; -void (*mx6_wait_in_iram)(); +void (*mx6_wait_in_iram)(void); extern void mx6_wait(void); diff --git a/arch/arm/mach-mx6/system.c b/arch/arm/mach-mx6/system.c index 8d8e0c747263..8ce35e0b4006 100644 --- a/arch/arm/mach-mx6/system.c +++ b/arch/arm/mach-mx6/system.c @@ -52,7 +52,7 @@ extern int mx6q_revision(void); static void __iomem *gpc_base = IO_ADDRESS(GPC_BASE_ADDR); -extern void (*mx6_wait_in_iram)(); +extern void (*mx6_wait_in_iram)(void); extern void mx6_wait(void); extern void *mx6_wait_in_iram_base; extern bool enable_wait_mode; |