aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/radio-gemtek-pci.c2
-rw-r--r--drivers/media/radio/radio-maxiradio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-gemtek-pci.c b/drivers/media/radio/radio-gemtek-pci.c
index 42c8fce04aa2..69ac8aa73eba 100644
--- a/drivers/media/radio/radio-gemtek-pci.c
+++ b/drivers/media/radio/radio-gemtek-pci.c
@@ -395,7 +395,7 @@ static struct pci_driver gemtek_pci_driver =
395 395
396static int __init gemtek_pci_init_module( void ) 396static int __init gemtek_pci_init_module( void )
397{ 397{
398 return pci_module_init( &gemtek_pci_driver ); 398 return pci_register_driver( &gemtek_pci_driver );
399} 399}
400 400
401static void __exit gemtek_pci_cleanup_module( void ) 401static void __exit gemtek_pci_cleanup_module( void )
diff --git a/drivers/media/radio/radio-maxiradio.c b/drivers/media/radio/radio-maxiradio.c
index 30869308332a..c975ddd86cd5 100644
--- a/drivers/media/radio/radio-maxiradio.c
+++ b/drivers/media/radio/radio-maxiradio.c
@@ -338,7 +338,7 @@ static struct pci_driver maxiradio_driver = {
338 338
339static int __init maxiradio_radio_init(void) 339static int __init maxiradio_radio_init(void)
340{ 340{
341 return pci_module_init(&maxiradio_driver); 341 return pci_register_driver(&maxiradio_driver);
342} 342}
343 343
344static void __exit maxiradio_radio_exit(void) 344static void __exit maxiradio_radio_exit(void)