aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/emu10k1/emu10k1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/emu10k1/emu10k1.c')
-rw-r--r--sound/pci/emu10k1/emu10k1.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/pci/emu10k1/emu10k1.c b/sound/pci/emu10k1/emu10k1.c
index 790c65d980c8..7fdbbe4d9965 100644
--- a/sound/pci/emu10k1/emu10k1.c
+++ b/sound/pci/emu10k1/emu10k1.c
@@ -263,7 +263,7 @@ static int snd_emu10k1_resume(struct pci_dev *pci)
263} 263}
264#endif 264#endif
265 265
266static struct pci_driver driver = { 266static struct pci_driver emu10k1_driver = {
267 .name = KBUILD_MODNAME, 267 .name = KBUILD_MODNAME,
268 .id_table = snd_emu10k1_ids, 268 .id_table = snd_emu10k1_ids,
269 .probe = snd_card_emu10k1_probe, 269 .probe = snd_card_emu10k1_probe,
@@ -274,15 +274,4 @@ static struct pci_driver driver = {
274#endif 274#endif
275}; 275};
276 276
277static int __init alsa_card_emu10k1_init(void) 277module_pci_driver(emu10k1_driver);
278{
279 return pci_register_driver(&driver);
280}
281
282static void __exit alsa_card_emu10k1_exit(void)
283{
284 pci_unregister_driver(&driver);
285}
286
287module_init(alsa_card_emu10k1_init)
288module_exit(alsa_card_emu10k1_exit)