aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/kyro/fbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/kyro/fbdev.c')
-rw-r--r--drivers/video/kyro/fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/kyro/fbdev.c b/drivers/video/kyro/fbdev.c
index 67f4deaa6a454..d8bac9e978421 100644
--- a/drivers/video/kyro/fbdev.c
+++ b/drivers/video/kyro/fbdev.c
@@ -802,7 +802,7 @@ static int __init kyrofb_init(void)
return -ENODEV;
kyrofb_setup(option);
#endif
- return pci_module_init(&kyrofb_pci_driver);
+ return pci_register_driver(&kyrofb_pci_driver);
}
static void __exit kyrofb_exit(void)