From: Tomasz Chmielewski <mangoo@wpkg.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: nslu2-developers@yahoogroups.com, Rod Whitby <rod@whitby.id.au>,
linux@arm.linux.org.uk, linux-arm-kernel@lists.arm.linux.org.uk
Subject: [PATCH] fsg-setup.c should use new style i2c model
Date: Fri, 08 Aug 2008 22:37:06 +0200 [thread overview]
Message-ID: <489CAE72.1030900@wpkg.org> (raw)
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();
reply other threads:[~2008-08-08 20:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=489CAE72.1030900@wpkg.org \
--to=mangoo@wpkg.org \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=nslu2-developers@yahoogroups.com \
--cc=rod@whitby.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox