diff options
author | Dale Sedivec <dale@codefu.org> | 2006-04-10 05:34:44 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-04-12 05:34:15 -0400 |
commit | 99e80e4d0c7755d688e9db205016a0608fa989b4 (patch) | |
tree | bb33c136d0a0fc66c55423fb19cab28ffd117c7b /sound/pci/au88x0/au88x0.h | |
parent | a29b6c8895edbd9921837b592bcd125cee64fc84 (diff) |
[ALSA] au88x0 - clean up __devinit/__devexit
Modules: au88x0 driver
Removed all use of __devinit/__devexit and init.h from headers. Any
attributes given in the prototype but not in the function definition have
been moved to the definition.
An exception is vortex_eq_free: I removed the __devexit attribute because
vortex_eq_free is called from vortex_core_shutdown, and
vortex_core_shutdown may be called from __devinit snd_vortex_create.
Compile tested with allyesconfig and allmodconfig.
Signed-off-by: Dale Sedivec <dale@codefu.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0/au88x0.h')
-rw-r--r-- | sound/pci/au88x0/au88x0.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h index d65ccb1866a0..f078b716d2b0 100644 --- a/sound/pci/au88x0/au88x0.h +++ b/sound/pci/au88x0/au88x0.h | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #ifdef __KERNEL__ | 20 | #ifdef __KERNEL__ |
21 | #include <sound/driver.h> | 21 | #include <sound/driver.h> |
22 | #include <linux/init.h> | ||
23 | #include <linux/pci.h> | 22 | #include <linux/pci.h> |
24 | #include <asm/io.h> | 23 | #include <asm/io.h> |
25 | #include <sound/core.h> | 24 | #include <sound/core.h> |
@@ -277,14 +276,14 @@ static void vortex_Vort3D_InitializeSource(a3dsrc_t * a, int en); | |||
277 | #endif | 276 | #endif |
278 | 277 | ||
279 | /* Driver stuff. */ | 278 | /* Driver stuff. */ |
280 | static int __devinit vortex_gameport_register(vortex_t * card); | 279 | static int vortex_gameport_register(vortex_t * card); |
281 | static void vortex_gameport_unregister(vortex_t * card); | 280 | static void vortex_gameport_unregister(vortex_t * card); |
282 | #ifndef CHIP_AU8820 | 281 | #ifndef CHIP_AU8820 |
283 | static int __devinit vortex_eq_init(vortex_t * vortex); | 282 | static int vortex_eq_init(vortex_t * vortex); |
284 | static int __devexit vortex_eq_free(vortex_t * vortex); | 283 | static int vortex_eq_free(vortex_t * vortex); |
285 | #endif | 284 | #endif |
286 | /* ALSA stuff. */ | 285 | /* ALSA stuff. */ |
287 | static int __devinit snd_vortex_new_pcm(vortex_t * vortex, int idx, int nr); | 286 | static int snd_vortex_new_pcm(vortex_t * vortex, int idx, int nr); |
288 | static int __devinit snd_vortex_mixer(vortex_t * vortex); | 287 | static int snd_vortex_mixer(vortex_t * vortex); |
289 | static int __devinit snd_vortex_midi(vortex_t * vortex); | 288 | static int snd_vortex_midi(vortex_t * vortex); |
290 | #endif | 289 | #endif |