]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: cs5535 - Make OLPC-stuff depending on MGEODE_LX
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 16:23:24 +0000 (17:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 16:23:24 +0000 (17:23 +0100)
commitf144b7f6679d9833bd3b94b91e452592b6d0e502
tree56187934d7878e129cd43e496fee540be45a869d
parent0fb497f5b6ff8da1e9e60afb39835f40d7f043ec
ALSA: cs5535 - Make OLPC-stuff depending on MGEODE_LX

The GPIO stuff for OLPC in cs5535audio_olpc.c is implemented only for
Geode-LX, and enabled only when CONFIG_MGEODE_LX=y.  Without this
config option, the driver gets build errors.

This patch adds a workaround to make it dependent on CONFIG_MGEODE_LX.

Ideally, the OLPC-GPIO stuff should be implemented in a way
independent from CPU type selection...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs5535audio/Makefile
sound/pci/cs5535audio/cs5535audio.h