diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-06-03 08:13:15 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-03 08:13:15 +0200 |
commit | 3e1e0a5dd539f83438078759c8642c5dd7c24cb6 (patch) | |
tree | 3e88a78307f3b57229cbaa17fe388988697ad330 /sound/ppc/pmac.c | |
parent | 5c9b6e9e618868ac66d92c81b70ad57d82033d4e (diff) |
ALSA: powermac - Replace the rest of __init*
All __initdata should be __devinitdata as platform device is hotpluggable.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r-- | sound/ppc/pmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index dfea116278e6..7bc492ee77ec 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c @@ -908,7 +908,7 @@ static int snd_pmac_dev_free(struct snd_device *device) * check the machine support byteswap (little-endian) */ -static void __init detect_byte_swap(struct snd_pmac *chip) +static void __devinit detect_byte_swap(struct snd_pmac *chip) { struct device_node *mio; @@ -1143,7 +1143,7 @@ static int pmac_hp_detect_get(struct snd_kcontrol *kcontrol, return 0; } -static struct snd_kcontrol_new auto_mute_controls[] __initdata = { +static struct snd_kcontrol_new auto_mute_controls[] __devinitdata = { { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = "Auto Mute Switch", .info = snd_pmac_boolean_mono_info, |