ef449e6d21
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>
23 lines
490 B
C
23 lines
490 B
C
/*
|
|
* arch/arm/mach-ep93xx/include/mach/platform.h
|
|
*/
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
struct i2c_board_info;
|
|
|
|
struct ep93xx_eth_data
|
|
{
|
|
unsigned char dev_addr[6];
|
|
unsigned char phy_id;
|
|
};
|
|
|
|
void ep93xx_map_io(void);
|
|
void ep93xx_init_irq(void);
|
|
void ep93xx_init_time(unsigned long);
|
|
void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr);
|
|
void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
|
|
void ep93xx_init_devices(void);
|
|
extern struct sys_timer ep93xx_timer;
|
|
|
|
#endif
|