--- zzzz-none-000/linux-3.10.107/drivers/media/radio/radio-maxiradio.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/media/radio/radio-maxiradio.c 2021-02-04 17:41:59.000000000 +0000 @@ -42,7 +42,7 @@ #include #include #include -#include +#include #include #include #include @@ -200,15 +200,4 @@ .remove = maxiradio_remove, }; -static int __init maxiradio_init(void) -{ - return pci_register_driver(&maxiradio_driver); -} - -static void __exit maxiradio_exit(void) -{ - pci_unregister_driver(&maxiradio_driver); -} - -module_init(maxiradio_init); -module_exit(maxiradio_exit); +module_pci_driver(maxiradio_driver);