aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/lx6464es/lx6464es.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/lx6464es/lx6464es.c')
-rw-r--r--sound/pci/lx6464es/lx6464es.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c
index d94c0c292bd0..d1ab43706735 100644
--- a/sound/pci/lx6464es/lx6464es.c
+++ b/sound/pci/lx6464es/lx6464es.c
@@ -1141,24 +1141,11 @@ static void __devexit snd_lx6464es_remove(struct pci_dev *pci)
1141} 1141}
1142 1142
1143 1143
1144static struct pci_driver driver = { 1144static struct pci_driver lx6464es_driver = {
1145 .name = KBUILD_MODNAME, 1145 .name = KBUILD_MODNAME,
1146 .id_table = snd_lx6464es_ids, 1146 .id_table = snd_lx6464es_ids,
1147 .probe = snd_lx6464es_probe, 1147 .probe = snd_lx6464es_probe,
1148 .remove = __devexit_p(snd_lx6464es_remove), 1148 .remove = __devexit_p(snd_lx6464es_remove),
1149}; 1149};
1150 1150
1151 1151module_pci_driver(lx6464es_driver);
1152/* module initialization */
1153static int __init mod_init(void)
1154{
1155 return pci_register_driver(&driver);
1156}
1157
1158static void __exit mod_exit(void)
1159{
1160 pci_unregister_driver(&driver);
1161}
1162
1163module_init(mod_init);
1164module_exit(mod_exit);