Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82934
b: refs/heads/master
c: a9a424c
h: refs/heads/master
v: v3
  • Loading branch information
Rod Whitby authored and Russell King committed Feb 4, 2008
1 parent b33f8a8 commit 7bd330b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 400d8231484ce3485d04310beaef778efee1efb3
refs/heads/master: a9a424ce9a209155f3d4b9f8ceba50cdebb7769b
10 changes: 10 additions & 0 deletions trunk/arch/arm/mach-ixp4xx/dsmg600-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>

#include <asm/mach-types.h>
Expand Down Expand Up @@ -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[] = {
{
Expand Down Expand Up @@ -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!
Expand Down

0 comments on commit 7bd330b

Please sign in to comment.