summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHartley Sweeten <hartleys@visionengravers.com>2009-03-05 17:33:50 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-03-05 17:05:22 +0000
commitef449e6d21b6e560c7ec36ed285ec3a34e0b12ed (patch)
tree6cad3ff509c3dab665364662151e7e12421cf08a /arch
parentd4cc510c61b050ef38e842a12feef71c56d7cf81 (diff)
downloadblackbird-op-linux-ef449e6d21b6e560c7ec36ed285ec3a34e0b12ed.tar.gz
blackbird-op-linux-ef449e6d21b6e560c7ec36ed285ec3a34e0b12ed.zip
[ARM] 5419/1: ep93xx: fix build warnings about struct i2c_board_info
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ep93xx/include/mach/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/platform.h b/arch/arm/mach-ep93xx/include/mach/platform.h
index 88f7e88f152f..05f0f4f2f3ce 100644
--- a/arch/arm/mach-ep93xx/include/mach/platform.h
+++ b/arch/arm/mach-ep93xx/include/mach/platform.h
@@ -4,6 +4,8 @@
#ifndef __ASSEMBLY__
+struct i2c_board_info;
+
struct ep93xx_eth_data
{
unsigned char dev_addr[6];
OpenPOWER on IntegriCloud