[ARM] 5419/1: ep93xx: fix build warnings about struct i2c_board_info
authorHartley Sweeten <hartleys@visionengravers.com>
Thu, 5 Mar 2009 16:33:50 +0000 (17:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 5 Mar 2009 17:05:22 +0000 (17:05 +0000)
Fix build warnings due to struct i2c_board_info in <mach/platform.h>

Patch "5311/1: add core support for built in i2c bus" is causing 11 of
39 the build warnings with Kautobuild for ep93xx_defconfig on kernel
2.6.29-rc5-git4.  This patch fixes it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/include/mach/platform.h

index 88f7e88..05f0f4f 100644 (file)
@@ -4,6 +4,8 @@
 
 #ifndef __ASSEMBLY__
 
+struct i2c_board_info;
+
 struct ep93xx_eth_data
 {
        unsigned char   dev_addr[6];