Skip to content

Commit

Permalink
[ARM] 5419/1: ep93xx: fix build warnings about struct i2c_board_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hartley Sweeten authored and Russell King committed Mar 5, 2009
1 parent d4cc510 commit ef449e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-ep93xx/include/mach/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#ifndef __ASSEMBLY__

struct i2c_board_info;

struct ep93xx_eth_data
{
unsigned char dev_addr[6];
Expand Down

0 comments on commit ef449e6

Please sign in to comment.