diff options
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r-- | sound/ppc/pmac.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index ab96cde7417b..c93fbbb201fe 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -702,7 +702,7 @@ static struct snd_pcm_ops snd_pmac_capture_ops = { | |||
702 | .pointer = snd_pmac_capture_pointer, | 702 | .pointer = snd_pmac_capture_pointer, |
703 | }; | 703 | }; |
704 | 704 | ||
705 | int __devinit snd_pmac_pcm_new(struct snd_pmac *chip) | 705 | int snd_pmac_pcm_new(struct snd_pmac *chip) |
706 | { | 706 | { |
707 | struct snd_pcm *pcm; | 707 | struct snd_pcm *pcm; |
708 | int err; | 708 | int err; |
@@ -907,7 +907,7 @@ static int snd_pmac_dev_free(struct snd_device *device) | |||
907 | * check the machine support byteswap (little-endian) | 907 | * check the machine support byteswap (little-endian) |
908 | */ | 908 | */ |
909 | 909 | ||
910 | static void __devinit detect_byte_swap(struct snd_pmac *chip) | 910 | static void detect_byte_swap(struct snd_pmac *chip) |
911 | { | 911 | { |
912 | struct device_node *mio; | 912 | struct device_node *mio; |
913 | 913 | ||
@@ -933,7 +933,7 @@ static void __devinit detect_byte_swap(struct snd_pmac *chip) | |||
933 | /* | 933 | /* |
934 | * detect a sound chip | 934 | * detect a sound chip |
935 | */ | 935 | */ |
936 | static int __devinit snd_pmac_detect(struct snd_pmac *chip) | 936 | static int snd_pmac_detect(struct snd_pmac *chip) |
937 | { | 937 | { |
938 | struct device_node *sound; | 938 | struct device_node *sound; |
939 | struct device_node *dn; | 939 | struct device_node *dn; |
@@ -1146,7 +1146,7 @@ static int pmac_hp_detect_get(struct snd_kcontrol *kcontrol, | |||
1146 | return 0; | 1146 | return 0; |
1147 | } | 1147 | } |
1148 | 1148 | ||
1149 | static struct snd_kcontrol_new auto_mute_controls[] __devinitdata = { | 1149 | static struct snd_kcontrol_new auto_mute_controls[] = { |
1150 | { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 1150 | { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
1151 | .name = "Auto Mute Switch", | 1151 | .name = "Auto Mute Switch", |
1152 | .info = snd_pmac_boolean_mono_info, | 1152 | .info = snd_pmac_boolean_mono_info, |
@@ -1161,7 +1161,7 @@ static struct snd_kcontrol_new auto_mute_controls[] __devinitdata = { | |||
1161 | }, | 1161 | }, |
1162 | }; | 1162 | }; |
1163 | 1163 | ||
1164 | int __devinit snd_pmac_add_automute(struct snd_pmac *chip) | 1164 | int snd_pmac_add_automute(struct snd_pmac *chip) |
1165 | { | 1165 | { |
1166 | int err; | 1166 | int err; |
1167 | chip->auto_mute = 1; | 1167 | chip->auto_mute = 1; |
@@ -1178,7 +1178,7 @@ int __devinit snd_pmac_add_automute(struct snd_pmac *chip) | |||
1178 | /* | 1178 | /* |
1179 | * create and detect a pmac chip record | 1179 | * create and detect a pmac chip record |
1180 | */ | 1180 | */ |
1181 | int __devinit snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return) | 1181 | int snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return) |
1182 | { | 1182 | { |
1183 | struct snd_pmac *chip; | 1183 | struct snd_pmac *chip; |
1184 | struct device_node *np; | 1184 | struct device_node *np; |