[ARM] pxa/csb726: register ac97 controller
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 21 Apr 2009 20:43:22 +0000 (00:43 +0400)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 5 Jun 2009 02:41:23 +0000 (10:41 +0800)
Add a call to pxa_set_ac97_info() to enable the audio support.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/csb726.c

index 657d7a491747cb7b85d036c75768762605d8304c..7d3e1b46e550f3469adb2da0697e561bab69c28a 100644 (file)
@@ -26,6 +26,7 @@
 #include <mach/mmc.h>
 #include <mach/ohci.h>
 #include <mach/pxa2xx-regs.h>
+#include <mach/audio.h>
 
 #include "generic.h"
 #include "devices.h"
@@ -315,6 +316,7 @@ static void __init csb726_init(void)
        pxa27x_set_i2c_power_info(NULL);
        pxa_set_mci_info(&csb726_mci);
        pxa_set_ohci_info(&csb726_ohci_platform_data);
+       pxa_set_ac97_info(NULL);
 
        platform_add_devices(devices, ARRAY_SIZE(devices));
 }