* [PATCH] fsg-setup.c should use new style i2c model
@ 2008-08-08 20:37 Tomasz Chmielewski
0 siblings, 0 replies; only message in thread
From: Tomasz Chmielewski @ 2008-08-08 20:37 UTC (permalink / raw)
To: LKML; +Cc: nslu2-developers, Rod Whitby, linux, linux-arm-kernel
RTC drivers were updated to the new style i2c model.
fsg-setup.c for Freecom FSG-3 was to date not updated to use it.
Because of this, it is not possible to use the RTC.
This tiny patch updates arch/arm/mach-ixp4xx/fsg-setup.c to use the correct device.
It also removes an unused variable which was issuing a compilation warning.
Tested-by: Tomasz Chmielewski <mangoo@wpkg.org>
Signed-off-by: Tomasz Chmielewski <mangoo@wpkg.org>
diff --git a/arch/arm/mach-ixp4xx/fsg-setup.c b/arch/arm/mach-ixp4xx/fsg-setup.c
index 0db3a90..0e0a234 100644
--- a/arch/arm/mach-ixp4xx/fsg-setup.c
+++ b/arch/arm/mach-ixp4xx/fsg-setup.c
@@ -64,7 +64,7 @@ static struct platform_device fsg_i2c_gpio = {
static struct i2c_board_info __initdata fsg_i2c_board_info [] = {
{
- I2C_BOARD_INFO("rtc-isl1208", 0x6f),
+ I2C_BOARD_INFO("isl1208", 0x6f),
},
};
@@ -179,7 +179,6 @@ static void __init fsg_init(void)
{
DECLARE_MAC_BUF(mac_buf);
uint8_t __iomem *f;
- int i;
ixp4xx_sys_init();
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-08 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08 20:37 [PATCH] fsg-setup.c should use new style i2c model Tomasz Chmielewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox