diff options
author | Olof Johansson <olof@lixom.net> | 2011-10-12 20:56:33 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-10-13 17:08:31 -0400 |
commit | d8e9c00e38f6947cef7f5466a0a3d369461ab97f (patch) | |
tree | 59fed80b0fba2d14a758e8c3d9673157fdcbfc6e /arch/arm/mach-tegra/devices.c | |
parent | 6686c733b82ff68197382785a59521652d35fc1b (diff) |
ARM: tegra: devices.c should include devices.h
Resolves lots of sparse warnings:
arch/arm/mach-tegra/devices.c:102:24: warning: symbol 'tegra_i2c_device1' was not declared. Should it be static?
arch/arm/mach-tegra/devices.c:112:24: warning: symbol 'tegra_i2c_device2' was not declared. Should it be static?
arch/arm/mach-tegra/devices.c:122:24: warning: symbol 'tegra_i2c_device3' was not declared. Should it be static?
arch/arm/mach-tegra/devices.c:132:24: warning: symbol 'tegra_i2c_device4' was not declared. Should it be static?
[...]
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r-- | arch/arm/mach-tegra/devices.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c index 57e35d20c24..489e82b5282 100644 --- a/arch/arm/mach-tegra/devices.c +++ b/arch/arm/mach-tegra/devices.c | |||
@@ -29,7 +29,9 @@ | |||
29 | #include <mach/iomap.h> | 29 | #include <mach/iomap.h> |
30 | #include <mach/dma.h> | 30 | #include <mach/dma.h> |
31 | #include <mach/usb_phy.h> | 31 | #include <mach/usb_phy.h> |
32 | |||
32 | #include "gpio-names.h" | 33 | #include "gpio-names.h" |
34 | #include "devices.h" | ||
33 | 35 | ||
34 | static struct resource i2c_resource1[] = { | 36 | static struct resource i2c_resource1[] = { |
35 | [0] = { | 37 | [0] = { |