diff options
-rw-r--r-- | drivers/misc/pch_phub.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/misc/pch_phub.c b/drivers/misc/pch_phub.c index e2c066e510f3..c9f20dae1855 100644 --- a/drivers/misc/pch_phub.c +++ b/drivers/misc/pch_phub.c | |||
@@ -893,18 +893,7 @@ static struct pci_driver pch_phub_driver = { | |||
893 | .resume = pch_phub_resume | 893 | .resume = pch_phub_resume |
894 | }; | 894 | }; |
895 | 895 | ||
896 | static int __init pch_phub_pci_init(void) | 896 | module_pci_driver(pch_phub_driver); |
897 | { | ||
898 | return pci_register_driver(&pch_phub_driver); | ||
899 | } | ||
900 | |||
901 | static void __exit pch_phub_pci_exit(void) | ||
902 | { | ||
903 | pci_unregister_driver(&pch_phub_driver); | ||
904 | } | ||
905 | |||
906 | module_init(pch_phub_pci_init); | ||
907 | module_exit(pch_phub_pci_exit); | ||
908 | 897 | ||
909 | MODULE_DESCRIPTION("Intel EG20T PCH/LAPIS Semiconductor IOH(ML7213/ML7223) PHUB"); | 898 | MODULE_DESCRIPTION("Intel EG20T PCH/LAPIS Semiconductor IOH(ML7213/ML7223) PHUB"); |
910 | MODULE_LICENSE("GPL"); | 899 | MODULE_LICENSE("GPL"); |