aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/em-x270.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c
index 5184a570ac5f..5343d1f339d6 100644
--- a/arch/arm/mach-pxa/em-x270.c
+++ b/arch/arm/mach-pxa/em-x270.c
@@ -839,10 +839,14 @@ static void __init em_x270_init_spi(void)
839static inline void em_x270_init_spi(void) {} 839static inline void em_x270_init_spi(void) {}
840#endif 840#endif
841 841
842#if defined(CONFIG_SND_PXA2XX_AC97) || defined(CONFIG_SND_PXA2XX_AC97_MODULE) 842#if defined(CONFIG_SND_PXA2XX_AC97_LIB)
843static pxa2xx_audio_ops_t em_x270_ac97_info = {
844 .reset_gpio = 113,
845};
846
843static void __init em_x270_init_ac97(void) 847static void __init em_x270_init_ac97(void)
844{ 848{
845 pxa_set_ac97_info(NULL); 849 pxa_set_ac97_info(&em_x270_ac97_info);
846} 850}
847#else 851#else
848static inline void em_x270_init_ac97(void) {} 852static inline void em_x270_init_ac97(void) {}