aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-01-16 08:54:21 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:30:00 -0500
commite7d7c2e28890e1b3944246af1a668b6da91ab411 (patch)
treea786563d0699ba1df8f437777be43b44f61eec04 /sound
parent747c6016ced692db18d7e849e8cbdc523fba0874 (diff)
[ALSA] sound: fix mts64 section mismatches
Fix section mismatches in mts64 by making a static variable __devinitdata. WARNING: vmlinux.o(.data+0x2e33f0): Section mismatch: reference to .init.data:mts64_ctl_smpte_switch (between 'control.19929' and 'snd_mts64_rawmidi_output_ops') WARNING: vmlinux.o(.data+0x2e33f8): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_hours (between 'control.19929' and 'snd_mts64_rawmidi_output_ops') WARNING: vmlinux.o(.data+0x2e3400): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_minutes (between 'control.19929' and 'snd_mts64_rawmidi_output_ops') WARNING: vmlinux.o(.data+0x2e3408): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_seconds (between 'control.19929' and 'snd_mts64_rawmidi_output_ops') WARNING: vmlinux.o(.data+0x2e3410): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_frames (between 'control.19929' and 'snd_mts64_rawmidi_output_ops') WARNING: vmlinux.o(.data+0x2e3418): Section mismatch: reference to .init.data:mts64_ctl_smpte_fps (between 'control.19929' and 'snd_mts64_rawmidi_output_ops') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/drivers/mts64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c
index f057d92fe86d..87ba1ddc0115 100644
--- a/sound/drivers/mts64.c
+++ b/sound/drivers/mts64.c
@@ -665,7 +665,7 @@ static int __devinit snd_mts64_ctl_create(struct snd_card *card,
665 struct mts64 *mts) 665 struct mts64 *mts)
666{ 666{
667 int err, i; 667 int err, i;
668 static struct snd_kcontrol_new *control[] = { 668 static struct snd_kcontrol_new *control[] __devinitdata = {
669 &mts64_ctl_smpte_switch, 669 &mts64_ctl_smpte_switch,
670 &mts64_ctl_smpte_time_hours, 670 &mts64_ctl_smpte_time_hours,
671 &mts64_ctl_smpte_time_minutes, 671 &mts64_ctl_smpte_time_minutes,