From b33f8a82e9928823699debe05e4b884a4c32151c Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Tue, 29 Jan 2008 00:38:44 +0100 Subject: [PATCH] --- yaml --- r: 82933 b: refs/heads/master c: 400d8231484ce3485d04310beaef778efee1efb3 h: refs/heads/master i: 82931: ef67b83988e3ca867db37ff0d7ed8d7cb054c9fb v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-ixp4xx/nas100d-setup.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index cc4d1f6a9f1f..8b587e9f49c3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e28067d533f1c6fc8c5e31495994f1c9bf7febe6 +refs/heads/master: 400d8231484ce3485d04310beaef778efee1efb3 diff --git a/trunk/arch/arm/mach-ixp4xx/nas100d-setup.c b/trunk/arch/arm/mach-ixp4xx/nas100d-setup.c index 213a4cea9117..dc782d06c2b1 100644 --- a/trunk/arch/arm/mach-ixp4xx/nas100d-setup.c +++ b/trunk/arch/arm/mach-ixp4xx/nas100d-setup.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -39,6 +40,12 @@ static struct platform_device nas100d_flash = { .resource = &nas100d_flash_resource, }; +static struct i2c_board_info __initdata nas100d_i2c_board_info [] = { + { + I2C_BOARD_INFO("rtc-pcf8563", 0x51), + }, +}; + #ifdef CONFIG_LEDS_IXP4XX static struct resource nas100d_led_resources[] = { { @@ -157,6 +164,9 @@ static void __init nas100d_init(void) pm_power_off = nas100d_power_off; + i2c_register_board_info(0, nas100d_i2c_board_info, + ARRAY_SIZE(nas100d_i2c_board_info)); + /* * This is only useful on a modified machine, but it is valuable * to have it first in order to see debug messages, and so that