diff options
author | Sekhar Nori <nsekhar@ti.com> | 2013-04-10 14:57:15 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-04-17 19:26:41 +0530 |
commit | 215a084dc5cb8d814aeb7a2b5192af20aec8209f (patch) | |
tree | 6291bee1ae5511feff836fef0f03f80d2c531aa9 /arch/arm/mach-davinci/pm.c | |
parent | 182e7961caa1ce4fce1787ec75c1e2e6021307bd (diff) |
ARM: davinci: ensure global variables are declared
Fix the following sparse warnings by declaring relevant
global variables.
CHECK arch/arm/mach-davinci/usb.c
arch/arm/mach-davinci/usb.c:134:12: warning: symbol 'da8xx_register_usb20' was not declared. Should it be static?
arch/arm/mach-davinci/usb.c:169:12: warning: symbol 'da8xx_register_usb11' was not declared. Should it be static?
CHECK arch/arm/mach-davinci/pm.c
arch/arm/mach-davinci/pm.c:155:12: warning: symbol 'davinci_pm_init' was not declared. Should it be static?
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/pm.c')
-rw-r--r-- | arch/arm/mach-davinci/pm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/pm.c b/arch/arm/mach-davinci/pm.c index eb8360b33aa..a508fe587af 100644 --- a/arch/arm/mach-davinci/pm.c +++ b/arch/arm/mach-davinci/pm.c @@ -19,6 +19,7 @@ #include <asm/delay.h> #include <asm/io.h> +#include <mach/common.h> #include <mach/da8xx.h> #include <mach/sram.h> #include <mach/pm.h> |