diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-02-22 23:29:10 (GMT) |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-02-27 13:38:30 (GMT) |
commit | fa4704fee22df9c24297305288b53ba8aae527b4 (patch) | |
tree | e5c223d8d6d0ae66d7728e6ac1308f1b1d1b2fb9 /arch/arm/mach-pxa | |
parent | ea73e75200625439061c41a75d9053407c9ebb74 (diff) | |
download | linux-fa4704fee22df9c24297305288b53ba8aae527b4.tar.xz |
ARM: pxa/tosa: register wm9712 codec device
Since f0fba2ad1b it's required to register platform devices even for
AC'97 codecs. Register one on tosa (wm9712-codec).
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index af152e7..f2582ec 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c @@ -875,6 +875,11 @@ static struct platform_device sharpsl_rom_device = { .dev.platform_data = &sharpsl_rom_data, }; +static struct platform_device wm9712_device = { + .name = "wm9712-codec", + .id = -1, +}; + static struct platform_device *devices[] __initdata = { &tosascoop_device, &tosascoop_jc_device, @@ -885,6 +890,7 @@ static struct platform_device *devices[] __initdata = { &tosaled_device, &tosa_bt_device, &sharpsl_rom_device, + &wm9712_device, }; static void tosa_poweroff(void) |