mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
[ARM] pxa/colibri: fix AC97 ifdefs and add missing include
The AC97 part wasn't initialized on Colibri/PXA320 because the macros were wrong. Also, the code didn't compile because of a header file not being included. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
2b5e080ae9
commit
15f593cfcb
@ -27,6 +27,7 @@
|
||||
#include <mach/colibri.h>
|
||||
#include <mach/pxafb.h>
|
||||
#include <mach/ohci.h>
|
||||
#include <mach/audio.h>
|
||||
|
||||
#include "generic.h"
|
||||
#include "devices.h"
|
||||
@ -145,7 +146,8 @@ static void __init colibri_pxa320_init_lcd(void)
|
||||
static inline void colibri_pxa320_init_lcd(void) {}
|
||||
#endif
|
||||
|
||||
#if defined(SND_AC97_CODEC) || defined(SND_AC97_CODEC_MODULE)
|
||||
#if defined(CONFIG_SND_AC97_CODEC) || \
|
||||
defined(CONFIG_SND_AC97_CODEC_MODULE)
|
||||
static mfp_cfg_t colibri_pxa320_ac97_pin_config[] __initdata = {
|
||||
GPIO34_AC97_SYSCLK,
|
||||
GPIO35_AC97_SDATA_IN_0,
|
||||
|
Loading…
Reference in New Issue
Block a user