diff options
Diffstat (limited to 'sound/pci/ens1370.c')
-rw-r--r-- | sound/pci/ens1370.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c index 47a245e84190..3821c81d1c99 100644 --- a/sound/pci/ens1370.c +++ b/sound/pci/ens1370.c | |||
@@ -2488,7 +2488,7 @@ static void __devexit snd_audiopci_remove(struct pci_dev *pci) | |||
2488 | pci_set_drvdata(pci, NULL); | 2488 | pci_set_drvdata(pci, NULL); |
2489 | } | 2489 | } |
2490 | 2490 | ||
2491 | static struct pci_driver driver = { | 2491 | static struct pci_driver ens137x_driver = { |
2492 | .name = KBUILD_MODNAME, | 2492 | .name = KBUILD_MODNAME, |
2493 | .id_table = snd_audiopci_ids, | 2493 | .id_table = snd_audiopci_ids, |
2494 | .probe = snd_audiopci_probe, | 2494 | .probe = snd_audiopci_probe, |
@@ -2499,15 +2499,4 @@ static struct pci_driver driver = { | |||
2499 | #endif | 2499 | #endif |
2500 | }; | 2500 | }; |
2501 | 2501 | ||
2502 | static int __init alsa_card_ens137x_init(void) | 2502 | module_pci_driver(ens137x_driver); |
2503 | { | ||
2504 | return pci_register_driver(&driver); | ||
2505 | } | ||
2506 | |||
2507 | static void __exit alsa_card_ens137x_exit(void) | ||
2508 | { | ||
2509 | pci_unregister_driver(&driver); | ||
2510 | } | ||
2511 | |||
2512 | module_init(alsa_card_ens137x_init) | ||
2513 | module_exit(alsa_card_ens137x_exit) | ||