X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fppc%2Ftoonie.c;h=053b8f24e4dc98175e523fe0f429755e89a5825e;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=1ac7c8552f50e3fdea0b07cb396906482681b554;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/sound/ppc/toonie.c b/sound/ppc/toonie.c index 1ac7c8552..053b8f24e 100644 --- a/sound/ppc/toonie.c +++ b/sound/ppc/toonie.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -117,7 +118,7 @@ static int toonie_get_mute_switch(struct snd_kcontrol *kcontrol, gp = &mix->amp_mute_gpio; break; default: - return -EINVAL; + return -EINVAL;; } ucontrol->value.integer.value[0] = !check_audio_gpio(gp); return 0; @@ -145,7 +146,7 @@ static int toonie_put_mute_switch(struct snd_kcontrol *kcontrol, gp = &mix->amp_mute_gpio; break; default: - return -EINVAL; + return -EINVAL;; } val = ! check_audio_gpio(gp); if (val != ucontrol->value.integer.value[0]) { @@ -335,7 +336,7 @@ static void toonie_cleanup(struct snd_pmac *chip) chip->mixer_data = NULL; } -int __init snd_pmac_toonie_init(struct snd_pmac *chip) +int snd_pmac_toonie_init(struct snd_pmac *chip) { struct pmac_toonie *mix;