Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141802
b: refs/heads/master
c: a6b6b5f
h: refs/heads/master
v: v3
  • Loading branch information
Jonas Larsson authored and Haavard Skinnemoen committed Mar 30, 2009
1 parent 4ed19ff commit a262898
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f47c8c5556e91f309e24162263ebacff6973007
refs/heads/master: a6b6b5ff8f31960f760dd849beb70e1ae8ddc0e2
8 changes: 8 additions & 0 deletions trunk/arch/avr32/boards/merisc/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ static struct platform_device i2c_gpio_device = {
},
};

static struct i2c_board_info __initdata i2c_info[] = {
{
I2C_BOARD_INFO("pcf8563", 0x51)
},
};

#ifdef CONFIG_LEDS_ATMEL_PWM
static struct gpio_led stk_pwm_led[] = {
{
Expand Down Expand Up @@ -284,6 +290,8 @@ static int __init merisc_init(void)
AT32_GPIOF_MULTIDRV | AT32_GPIOF_OUTPUT | AT32_GPIOF_HIGH);
platform_device_register(&i2c_gpio_device);

i2c_register_board_info(0, i2c_info, ARRAY_SIZE(i2c_info));

return 0;
}
postcore_initcall(merisc_init);
2 changes: 1 addition & 1 deletion trunk/arch/avr32/configs/merisc_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
CONFIG_RTC_DRV_PCF8563=y
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_S35390A is not set
Expand Down

0 comments on commit a262898

Please sign in to comment.