diff options
Diffstat (limited to 'sound/pci/rme32.c')
-rw-r--r-- | sound/pci/rme32.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c index b4819d5e41db..46b3629dda22 100644 --- a/sound/pci/rme32.c +++ b/sound/pci/rme32.c | |||
@@ -1984,22 +1984,11 @@ static void __devexit snd_rme32_remove(struct pci_dev *pci) | |||
1984 | pci_set_drvdata(pci, NULL); | 1984 | pci_set_drvdata(pci, NULL); |
1985 | } | 1985 | } |
1986 | 1986 | ||
1987 | static struct pci_driver driver = { | 1987 | static struct pci_driver rme32_driver = { |
1988 | .name = KBUILD_MODNAME, | 1988 | .name = KBUILD_MODNAME, |
1989 | .id_table = snd_rme32_ids, | 1989 | .id_table = snd_rme32_ids, |
1990 | .probe = snd_rme32_probe, | 1990 | .probe = snd_rme32_probe, |
1991 | .remove = __devexit_p(snd_rme32_remove), | 1991 | .remove = __devexit_p(snd_rme32_remove), |
1992 | }; | 1992 | }; |
1993 | 1993 | ||
1994 | static int __init alsa_card_rme32_init(void) | 1994 | module_pci_driver(rme32_driver); |
1995 | { | ||
1996 | return pci_register_driver(&driver); | ||
1997 | } | ||
1998 | |||
1999 | static void __exit alsa_card_rme32_exit(void) | ||
2000 | { | ||
2001 | pci_unregister_driver(&driver); | ||
2002 | } | ||
2003 | |||
2004 | module_init(alsa_card_rme32_init) | ||
2005 | module_exit(alsa_card_rme32_exit) | ||