Skip to content

Commit

Permalink
ARM: pxa: zylonite: use the new ac97 bus support
Browse files Browse the repository at this point in the history
Now the PXA is converted to new ac97 bus support, the wm9713 is
automatically detected and probed. Remove it from the platform bus.

Signed-off-by: Robert Jarzmik <[email protected]>
  • Loading branch information
rjarzmik committed Jun 20, 2018
1 parent 22abc0d commit 35b69d6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions arch/arm/mach-pxa/zylonite.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,6 @@ int wm9713_irq;
int lcd_id;
int lcd_orientation;

struct platform_device pxa_device_wm9713_audio = {
.name = "wm9713-codec",
.id = -1,
};

static void __init zylonite_init_wm9713_audio(void)
{
platform_device_register(&pxa_device_wm9713_audio);
}

static struct resource smc91x_resources[] = {
[0] = {
.start = ZYLONITE_ETH_PHYS + 0x300,
Expand Down Expand Up @@ -428,7 +418,6 @@ static void __init zylonite_init(void)
zylonite_init_nand();
zylonite_init_leds();
zylonite_init_ohci();
zylonite_init_wm9713_audio();
}

MACHINE_START(ZYLONITE, "PXA3xx Platform Development Kit (aka Zylonite)")
Expand Down

0 comments on commit 35b69d6

Please sign in to comment.