aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-03-02 11:22:03 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-02 11:22:03 +0000
commit0e14f3aabd0b6fc26f6fe93f79405b71fb8a4da7 (patch)
tree4b2300c288691fd603a01375243200ea38ea3e7d /arch/arm
parent398ae1abfc741eca50454895ef649dea452f942d (diff)
OpenMoko: Update for normal WM8753 device registration.
The WM8753 driver now uses the standard I2C device registration model and so requires the platform to register the device. Convert the OpenMoko GTA0x series devices to do so. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-s3c2410/mach-gta01.c5
-rw-r--r--arch/arm/mach-s3c2442/mach-gta02.c3
-rw-r--r--arch/arm/mach-s3c6410/mach-om-gta03.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
index f1ceeec0508..aeb66fb088f 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -923,7 +923,10 @@ static struct i2c_board_info gta01_i2c_devs[] __initdata = {
},
{
I2C_BOARD_INFO("lm4587", 0x7c),
- }
+ },
+ {
+ I2C_BOARD_INFO("wm8753", 0x1a),
+ },
};
static void __init gta01_machine_init(void)
diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c
index bdd357fde53..4f44a526a13 100644
--- a/arch/arm/mach-s3c2442/mach-gta02.c
+++ b/arch/arm/mach-s3c2442/mach-gta02.c
@@ -863,6 +863,9 @@ static struct i2c_board_info gta02_i2c_devs[] __initdata = {
.irq = GTA02_IRQ_PCF50633,
.platform_data = &gta02_pcf_pdata,
},
+ {
+ I2C_BOARD_INFO("wm8753", 0x1a),
+ },
};
static struct s3c2410_nand_set gta02_nand_sets[] = {
diff --git a/arch/arm/mach-s3c6410/mach-om-gta03.c b/arch/arm/mach-s3c6410/mach-om-gta03.c
index 4f4178a792f..bdf3622cb13 100644
--- a/arch/arm/mach-s3c6410/mach-om-gta03.c
+++ b/arch/arm/mach-s3c6410/mach-om-gta03.c
@@ -878,7 +878,9 @@ static struct i2c_board_info om_gta03_i2c_devs[] __initdata = {
.irq = GTA03_IRQ_LED,
.platform_data = &om_gta03_lp5521_pdata,
},
-
+ {
+ I2C_BOARD_INFO("wm8753", 0x1a),
+ },
};
struct platform_device s3c24xx_pwm_device = {