Skip to content

Commit

Permalink
ARM: pxa/tosa: register wm9712 codec device
Browse files Browse the repository at this point in the history
Since f0fba2a 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>
  • Loading branch information
Dmitry Eremin-Solenikov authored and Eric Miao committed Feb 27, 2011
1 parent ea73e75 commit fa4704f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/mach-pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)
Expand Down

0 comments on commit fa4704f

Please sign in to comment.