From fc2fd83d9108daa257a7fb4a149fafac53622a6b Mon Sep 17 00:00:00 2001 From: Jonas Bonn Date: Wed, 19 Nov 2008 17:10:57 +0000 Subject: GTA02: Fix WM8753 device registration This makes the GTA02 work with the new-style WM8753 ALSA I2C driver. Signed-off-by: Jonas Bonn --- arch/arm/mach-s3c2440/mach-gta02.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arch/arm') 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 */ -- cgit v1.2.3