Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760288AbYHHUh3 (ORCPT ); Fri, 8 Aug 2008 16:37:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752155AbYHHUhS (ORCPT ); Fri, 8 Aug 2008 16:37:18 -0400 Received: from mx03.syneticon.net ([87.79.32.166]:3376 "EHLO mx03.syneticon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbYHHUhR (ORCPT ); Fri, 8 Aug 2008 16:37:17 -0400 Message-ID: <489CAE72.1030900@wpkg.org> Date: Fri, 08 Aug 2008 22:37:06 +0200 From: Tomasz Chmielewski User-Agent: Thunderbird 2.0.0.16 (X11/20080725) MIME-Version: 1.0 To: LKML CC: nslu2-developers@yahoogroups.com, Rod Whitby , linux@arm.linux.org.uk, linux-arm-kernel@lists.arm.linux.org.uk Subject: [PATCH] fsg-setup.c should use new style i2c model Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 39 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 Signed-off-by: Tomasz Chmielewski 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(); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/