aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/usb.c
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2013-04-10 05:27:15 -0400
committerSekhar Nori <nsekhar@ti.com>2013-04-17 09:56:41 -0400
commit215a084dc5cb8d814aeb7a2b5192af20aec8209f (patch)
tree6291bee1ae5511feff836fef0f03f80d2c531aa9 /arch/arm/mach-davinci/usb.c
parent182e7961caa1ce4fce1787ec75c1e2e6021307bd (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/usb.c')
-rw-r--r--arch/arm/mach-davinci/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c
index 34509ffba221..2b4c648f99b6 100644
--- a/arch/arm/mach-davinci/usb.c
+++ b/arch/arm/mach-davinci/usb.c
@@ -10,6 +10,7 @@
10#include <mach/common.h> 10#include <mach/common.h>
11#include <mach/irqs.h> 11#include <mach/irqs.h>
12#include <mach/cputype.h> 12#include <mach/cputype.h>
13#include <mach/da8xx.h>
13#include <linux/platform_data/usb-davinci.h> 14#include <linux/platform_data/usb-davinci.h>
14 15
15#define DAVINCI_USB_OTG_BASE 0x01c64000 16#define DAVINCI_USB_OTG_BASE 0x01c64000