diff options
author | Jonas Bonn <jonas.bonn@gmail.com> | 2008-11-19 17:10:57 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:10:57 +0000 |
commit | fc2fd83d9108daa257a7fb4a149fafac53622a6b (patch) | |
tree | a49985ade251f587e8de53b7792e7cfe47f29053 /arch/arm/mach-s3c2440/mach-gta02.c | |
parent | ae133611810121ee572e8adb61fbe665ff2d5e4f (diff) |
GTA02: Fix WM8753 device registration
This makes the GTA02 work with the new-style WM8753 ALSA I2C driver.
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-gta02.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index 4a0686473ff..3a84017b3ab 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -846,6 +846,11 @@ struct platform_device s3c24xx_pwm_device = { .num_resources = 0, }; +static struct i2c_board_info gta02_i2c_devs[] __initdata = { + { + I2C_BOARD_INFO("wm8753", 0x1a), + }, +}; static struct platform_device *gta02_devices[] __initdata = { &s3c_device_usb, @@ -1663,6 +1668,10 @@ static void __init gta02_machine_init(void) break; } #endif + + i2c_register_board_info(0, gta02_i2c_devs, + ARRAY_SIZE(gta02_i2c_devs)); + s3c2410_pm_init(); /* Make sure the modem can wake us up */ |