[ALSA] Fix __devinit and __devexit issues with sound drivers
authorPrarit Bhargava <prarit@redhat.com>
Tue, 13 Feb 2007 12:11:11 +0000 (13:11 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 14 Feb 2007 07:38:28 +0000 (08:38 +0100)
commit788c6043335590e0a483fdc18f85b1405a157bf9
tree23e24335e62ba0f692da4707933c7680e94fa1d8
parent46f02ca36e9b2b690ebcef18fa0652c586d6c08e
[ALSA] Fix __devinit and __devexit issues with sound drivers

Fix __devinit and __devexit issues with sound drivers.
Resolves MODPOST warnings similar to:
WARNING: sound/drivers/snd-dummy.o - Section mismatch: reference to .init.text:snd_dummy_probe from .data.rel.local between 'snd_dummy_driver' (at offset 0x0) and 'snd_dummy_controls'
WARNING: sound/drivers/snd-mtpav.o - Section mismatch: reference to .init.text:snd_mtpav_probe from .data.rel.local between 'snd_mtpav_driver' (at offset 0x0) and 'snd_mtpav_input'
WARNING: sound/drivers/snd-virmidi.o - Section mismatch: reference to .init.text:snd_virmidi_probe from .data.rel.local after 'snd_virmidi_driver' (at offset 0x0)

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
15 files changed:
sound/arm/pxa2xx-ac97.c
sound/drivers/dummy.c
sound/drivers/mtpav.c
sound/drivers/mts64.c
sound/drivers/portman2x4.c
sound/drivers/serial-u16550.c
sound/drivers/virmidi.c
sound/isa/ad1848/ad1848.c
sound/isa/cmi8330.c
sound/isa/es1688/es1688.c
sound/isa/gus/gusclassic.c
sound/isa/gus/gusextreme.c
sound/isa/gus/gusmax.c
sound/isa/opl3sa2.c
sound/isa/sb/sb8.c