Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3196
b: refs/heads/master
c: ea23d1a
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Jun 25, 2005
1 parent 35235b2 commit 6e599ee
Show file tree
Hide file tree
Showing 2 changed files with 17 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: 456b6b863a6a1a80e369e42568817747a427b072
refs/heads/master: ea23d1ac7e380aefc00d691c7c9a3e747bc2531f
17 changes: 16 additions & 1 deletion trunk/arch/arm/mach-ixp2000/enp2611.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,23 @@ static struct platform_device enp2611_flash = {
.resource = &enp2611_flash_resource,
};

static struct ixp2000_i2c_pins enp2611_i2c_gpio_pins = {
.sda_pin = ENP2611_GPIO_SDA,
.scl_pin = ENP2611_GPIO_SCL,
};

static struct platform_device enp2611_i2c_controller = {
.name = "IXP2000-I2C",
.id = 0,
.dev = {
.platform_data = &enp2611_i2c_gpio_pins
},
.num_resources = 0
};

static struct platform_device *enp2611_devices[] __initdata = {
&enp2611_flash
&enp2611_flash,
&enp2611_i2c_controller
};

static void __init enp2611_init_machine(void)
Expand Down

0 comments on commit 6e599ee

Please sign in to comment.