[patch 2/5] xtensa: add saa7121 to s6105 platform

From: Daniel GlÃckner
Date: Thu Mar 26 2009 - 10:48:48 EST


Signed-off-by: Daniel GlÃckner <dg@xxxxxxxxx>
---
arch/xtensa/platforms/s6105/device.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/xtensa/platforms/s6105/device.c b/arch/xtensa/platforms/s6105/device.c
index 9238d24..07fb329 100644
--- a/arch/xtensa/platforms/s6105/device.c
+++ b/arch/xtensa/platforms/s6105/device.c
@@ -202,6 +202,11 @@ static struct resource s6_i2c_resource[] = {
#define S6I2C_ADDR_PCA9543 0x73

static struct s6dp_link s6dp_links[] = {
+ {
+ .port_mask = 1 << 2,
+ .is_egress = 1,
+ .minor = 2,
+ },
{ }
};

@@ -212,6 +217,10 @@ static struct i2c_board_info __initdata s6_i2c_devices[] = {
{
I2C_BOARD_INFO("m41t62", S6I2C_ADDR_M41T62),
},
+ {
+ I2C_BOARD_INFO("saa7121", S6I2C_ADDR_SAA7121),
+ .platform_data = &s6dp_links[0],
+ },
};

static struct resource s6_isef_resource[] = {
--
1.6.2.107.ge47ee

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/