From 7bd330b0e920ec2bd740fad67681733fba539775 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Tue, 29 Jan 2008 00:40:02 +0100 Subject: [PATCH] --- yaml --- r: 82934 b: refs/heads/master c: a9a424ce9a209155f3d4b9f8ceba50cdebb7769b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-ixp4xx/dsmg600-setup.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 8b587e9f49c3..c93cb9092e71 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 400d8231484ce3485d04310beaef778efee1efb3 +refs/heads/master: a9a424ce9a209155f3d4b9f8ceba50cdebb7769b diff --git a/trunk/arch/arm/mach-ixp4xx/dsmg600-setup.c b/trunk/arch/arm/mach-ixp4xx/dsmg600-setup.c index c473d408aa7c..a1c44efc45f6 100644 --- a/trunk/arch/arm/mach-ixp4xx/dsmg600-setup.c +++ b/trunk/arch/arm/mach-ixp4xx/dsmg600-setup.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -51,6 +52,12 @@ static struct platform_device dsmg600_i2c_gpio = { }, }; +static struct i2c_board_info __initdata dsmg600_i2c_board_info [] = { + { + I2C_BOARD_INFO("rtc-pcf8563", 0x51), + }, +}; + #ifdef CONFIG_LEDS_CLASS static struct resource dsmg600_led_resources[] = { { @@ -158,6 +165,9 @@ static void __init dsmg600_init(void) pm_power_off = dsmg600_power_off; + i2c_register_board_info(0, dsmg600_i2c_board_info, + ARRAY_SIZE(dsmg600_i2c_board_info)); + /* The UART is required on the DSM-G600 (Redboot cannot use the * NIC) -- do it here so that it does *not* get removed if * platform_add_devices fails!