aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-07-09 04:28:41 -0400
committerJaroslav Kysela <perex@perex.cz>2008-07-10 03:32:58 -0400
commitee2da99782d717b264d5c309a2084ca85e9a64ff (patch)
tree63ef3e9706e4ea08397c23cfe9782c00805927c6 /sound/ppc
parent7fc077fba5f8896c6fed3b35c5a10e7fdae82bbe (diff)
ALSA: remove CONFIG_KMOD from sound
A bunch of things in alsa depend on CONFIG_KMOD, use CONFIG_MODULES instead where the dependency is needed at all. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/ppc')
-rw-r--r--sound/ppc/daca.c2
-rw-r--r--sound/ppc/tumbler.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sound/ppc/daca.c b/sound/ppc/daca.c
index ca9452901a50..8a5b29031933 100644
--- a/sound/ppc/daca.c
+++ b/sound/ppc/daca.c
@@ -249,9 +249,7 @@ int __init snd_pmac_daca_init(struct snd_pmac *chip)
249 int i, err; 249 int i, err;
250 struct pmac_daca *mix; 250 struct pmac_daca *mix;
251 251
252#ifdef CONFIG_KMOD
253 request_module("i2c-powermac"); 252 request_module("i2c-powermac");
254#endif /* CONFIG_KMOD */
255 253
256 mix = kzalloc(sizeof(*mix), GFP_KERNEL); 254 mix = kzalloc(sizeof(*mix), GFP_KERNEL);
257 if (! mix) 255 if (! mix)
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c
index 3f8d7164cef9..009df8dd37a8 100644
--- a/sound/ppc/tumbler.c
+++ b/sound/ppc/tumbler.c
@@ -1350,9 +1350,7 @@ int __init snd_pmac_tumbler_init(struct snd_pmac *chip)
1350 struct device_node *tas_node, *np; 1350 struct device_node *tas_node, *np;
1351 char *chipname; 1351 char *chipname;
1352 1352
1353#ifdef CONFIG_KMOD
1354 request_module("i2c-powermac"); 1353 request_module("i2c-powermac");
1355#endif /* CONFIG_KMOD */
1356 1354
1357 mix = kzalloc(sizeof(*mix), GFP_KERNEL); 1355 mix = kzalloc(sizeof(*mix), GFP_KERNEL);
1358 if (! mix) 1356 if (! mix)