aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/asihpi/asihpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/asihpi/asihpi.c')
-rw-r--r--sound/pci/asihpi/asihpi.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
index e8de831f98bc..7b5259b6032f 100644
--- a/sound/pci/asihpi/asihpi.c
+++ b/sound/pci/asihpi/asihpi.c
@@ -2963,7 +2963,7 @@ static DEFINE_PCI_DEVICE_TABLE(asihpi_pci_tbl) = {
2963}; 2963};
2964MODULE_DEVICE_TABLE(pci, asihpi_pci_tbl); 2964MODULE_DEVICE_TABLE(pci, asihpi_pci_tbl);
2965 2965
2966static struct pci_driver driver = { 2966static struct pci_driver asihpi_driver = {
2967 .name = KBUILD_MODNAME, 2967 .name = KBUILD_MODNAME,
2968 .id_table = asihpi_pci_tbl, 2968 .id_table = asihpi_pci_tbl,
2969 .probe = snd_asihpi_probe, 2969 .probe = snd_asihpi_probe,
@@ -2974,19 +2974,4 @@ static struct pci_driver driver = {
2974#endif 2974#endif
2975}; 2975};
2976 2976
2977static int __init snd_asihpi_init(void) 2977module_pci_driver(asihpi_driver);
2978{
2979 asihpi_init();
2980 return pci_register_driver(&driver);
2981}
2982
2983static void __exit snd_asihpi_exit(void)
2984{
2985
2986 pci_unregister_driver(&driver);
2987 asihpi_exit();
2988}
2989
2990module_init(snd_asihpi_init)
2991module_exit(snd_asihpi_exit)
2992