diff options
Diffstat (limited to 'sound/pci/cs5530.c')
-rw-r--r-- | sound/pci/cs5530.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sound/pci/cs5530.c b/sound/pci/cs5530.c index c47cabff2bfa..f1e4229993af 100644 --- a/sound/pci/cs5530.c +++ b/sound/pci/cs5530.c | |||
@@ -291,23 +291,11 @@ static int __devinit snd_cs5530_probe(struct pci_dev *pci, | |||
291 | return 0; | 291 | return 0; |
292 | } | 292 | } |
293 | 293 | ||
294 | static struct pci_driver driver = { | 294 | static struct pci_driver cs5530_driver = { |
295 | .name = KBUILD_MODNAME, | 295 | .name = KBUILD_MODNAME, |
296 | .id_table = snd_cs5530_ids, | 296 | .id_table = snd_cs5530_ids, |
297 | .probe = snd_cs5530_probe, | 297 | .probe = snd_cs5530_probe, |
298 | .remove = __devexit_p(snd_cs5530_remove), | 298 | .remove = __devexit_p(snd_cs5530_remove), |
299 | }; | 299 | }; |
300 | 300 | ||
301 | static int __init alsa_card_cs5530_init(void) | 301 | module_pci_driver(cs5530_driver); |
302 | { | ||
303 | return pci_register_driver(&driver); | ||
304 | } | ||
305 | |||
306 | static void __exit alsa_card_cs5530_exit(void) | ||
307 | { | ||
308 | pci_unregister_driver(&driver); | ||
309 | } | ||
310 | |||
311 | module_init(alsa_card_cs5530_init) | ||
312 | module_exit(alsa_card_cs5530_exit) | ||
313 | |||