mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
This commit is contained in:
parent
7fc077fba5
commit
ee2da99782
7 changed files with 11 additions and 17 deletions
|
|
@ -249,9 +249,7 @@ int __init snd_pmac_daca_init(struct snd_pmac *chip)
|
|||
int i, err;
|
||||
struct pmac_daca *mix;
|
||||
|
||||
#ifdef CONFIG_KMOD
|
||||
request_module("i2c-powermac");
|
||||
#endif /* CONFIG_KMOD */
|
||||
|
||||
mix = kzalloc(sizeof(*mix), GFP_KERNEL);
|
||||
if (! mix)
|
||||
|
|
|
|||
|
|
@ -1350,9 +1350,7 @@ int __init snd_pmac_tumbler_init(struct snd_pmac *chip)
|
|||
struct device_node *tas_node, *np;
|
||||
char *chipname;
|
||||
|
||||
#ifdef CONFIG_KMOD
|
||||
request_module("i2c-powermac");
|
||||
#endif /* CONFIG_KMOD */
|
||||
|
||||
mix = kzalloc(sizeof(*mix), GFP_KERNEL);
|
||||
if (! mix)
|
||||
|
|
|
|||
Loading…
Reference in a new issue