summaryrefslogtreecommitdiffstats
path: root/sound/isa/wavefront/wavefront_synth.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2006-07-03 16:38:28 +0200
committerJaroslav Kysela <perex@suse.cz>2006-07-12 20:07:48 +0200
commit40e1a9c0d428740a5c10a5be2335b9d7c39df043 (patch)
tree09508d99cbbc8fbda2c2dc6c38d6d290fb65f140 /sound/isa/wavefront/wavefront_synth.c
parent1a806f487da563d0b60375665911009e60a7d121 (diff)
downloadop-kernel-dev-40e1a9c0d428740a5c10a5be2335b9d7c39df043.zip
op-kernel-dev-40e1a9c0d428740a5c10a5be2335b9d7c39df043.tar.gz
[ALSA] wavefront: fix __init/__devinit confusion
The wavefront driver used __init in some places referenced by __devinit functions. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/isa/wavefront/wavefront_synth.c')
-rw-r--r--sound/isa/wavefront/wavefront_synth.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c
index 68aa091..bed329e 100644
--- a/sound/isa/wavefront/wavefront_synth.c
+++ b/sound/isa/wavefront/wavefront_synth.c
@@ -1738,7 +1738,7 @@ snd_wavefront_internal_interrupt (snd_wavefront_card_t *card)
7 Unused
*/
-static int __init
+static int __devinit
snd_wavefront_interrupt_bits (int irq)
{
@@ -1766,7 +1766,7 @@ snd_wavefront_interrupt_bits (int irq)
return bits;
}
-static void __init
+static void __devinit
wavefront_should_cause_interrupt (snd_wavefront_t *dev,
int val, int port, int timeout)
@@ -1787,7 +1787,7 @@ wavefront_should_cause_interrupt (snd_wavefront_t *dev,
}
}
-static int __init
+static int __devinit
wavefront_reset_to_cleanliness (snd_wavefront_t *dev)
{
@@ -1946,7 +1946,7 @@ wavefront_reset_to_cleanliness (snd_wavefront_t *dev)
#include <asm/uaccess.h>
-static int __init
+static int __devinit
wavefront_download_firmware (snd_wavefront_t *dev, char *path)
{
@@ -2047,7 +2047,7 @@ wavefront_download_firmware (snd_wavefront_t *dev, char *path)
}
-static int __init
+static int __devinit
wavefront_do_reset (snd_wavefront_t *dev)
{
@@ -2136,7 +2136,7 @@ wavefront_do_reset (snd_wavefront_t *dev)
return 1;
}
-int __init
+int __devinit
snd_wavefront_start (snd_wavefront_t *dev)
{
@@ -2178,7 +2178,7 @@ snd_wavefront_start (snd_wavefront_t *dev)
return (0);
}
-int __init
+int __devinit
snd_wavefront_detect (snd_wavefront_card_t *card)
{
OpenPOWER on IntegriCloud