diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-09-09 21:01:17 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-09-23 02:18:08 -0400 |
commit | 9c63634221f67450ead19820e33996b69691194f (patch) | |
tree | e21917379124783bbf37348c84bf9765cd1dc5d1 /sound/arm/Kconfig | |
parent | 081b355dd5a17788880a0241ed988c7483c1e40f (diff) |
ALSA: Separate common pxa2xx-ac97 code
ASoC and non-ASoC drivers for ACLINK on PXA share lot's of common code.
Move all common code into separate module snd-pxa2xx-lib.
[Fixed handing of SND_AC97_CODEC in Kconfig and some checkpatch warnings
-- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/arm/Kconfig')
-rw-r--r-- | sound/arm/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/arm/Kconfig b/sound/arm/Kconfig index 351e19ea3785..2e554815e27c 100644 --- a/sound/arm/Kconfig +++ b/sound/arm/Kconfig | |||
@@ -32,11 +32,16 @@ config SND_PXA2XX_PCM | |||
32 | tristate | 32 | tristate |
33 | select SND_PCM | 33 | select SND_PCM |
34 | 34 | ||
35 | config SND_PXA2XX_LIB | ||
36 | tristate | ||
37 | select SND_AC97_CODEC | ||
38 | |||
35 | config SND_PXA2XX_AC97 | 39 | config SND_PXA2XX_AC97 |
36 | tristate "AC97 driver for the Intel PXA2xx chip" | 40 | tristate "AC97 driver for the Intel PXA2xx chip" |
37 | depends on ARCH_PXA | 41 | depends on ARCH_PXA |
38 | select SND_PXA2XX_PCM | 42 | select SND_PXA2XX_PCM |
39 | select SND_AC97_CODEC | 43 | select SND_AC97_CODEC |
44 | select SND_PXA2XX_LIB | ||
40 | help | 45 | help |
41 | Say Y or M if you want to support any AC97 codec attached to | 46 | Say Y or M if you want to support any AC97 codec attached to |
42 | the PXA2xx AC97 interface. | 47 | the PXA2xx AC97 interface. |