diff options
Diffstat (limited to 'sound/pci/lx6464es/lx6464es.c')
-rw-r--r-- | sound/pci/lx6464es/lx6464es.c | 17 |
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 | ||
1144 | static struct pci_driver driver = { | 1144 | static 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 | 1151 | module_pci_driver(lx6464es_driver); | |
1152 | /* module initialization */ | ||
1153 | static int __init mod_init(void) | ||
1154 | { | ||
1155 | return pci_register_driver(&driver); | ||
1156 | } | ||
1157 | |||
1158 | static void __exit mod_exit(void) | ||
1159 | { | ||
1160 | pci_unregister_driver(&driver); | ||
1161 | } | ||
1162 | |||
1163 | module_init(mod_init); | ||
1164 | module_exit(mod_exit); | ||