ARM: tegra: devices.c should include devices.h
authorOlof Johansson <olof@lixom.net>
Thu, 13 Oct 2011 00:56:33 +0000 (17:56 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 13 Oct 2011 21:08:31 +0000 (14:08 -0700)
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>
arch/arm/mach-tegra/devices.c

index 57e35d20c24cf495e1e1e3863d691b28b4d37c46..489e82b5282a9e0d77cae4da08690cf48364a12d 100644 (file)
@@ -29,7 +29,9 @@
 #include <mach/iomap.h>
 #include <mach/dma.h>
 #include <mach/usb_phy.h>
+
 #include "gpio-names.h"
+#include "devices.h"
 
 static struct resource i2c_resource1[] = {
        [0] = {