|
@@ -3722,7 +3722,9 @@ static int __init atyfb_init(void)
|
|
atyfb_setup(option);
|
|
atyfb_setup(option);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PCI
|
|
pci_register_driver(&atyfb_driver);
|
|
pci_register_driver(&atyfb_driver);
|
|
|
|
+#endif
|
|
#ifdef CONFIG_ATARI
|
|
#ifdef CONFIG_ATARI
|
|
atyfb_atari_probe();
|
|
atyfb_atari_probe();
|
|
#endif
|
|
#endif
|
|
@@ -3731,7 +3733,9 @@ static int __init atyfb_init(void)
|
|
|
|
|
|
static void __exit atyfb_exit(void)
|
|
static void __exit atyfb_exit(void)
|
|
{
|
|
{
|
|
|
|
+#ifdef CONFIG_PCI
|
|
pci_unregister_driver(&atyfb_driver);
|
|
pci_unregister_driver(&atyfb_driver);
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
module_init(atyfb_init);
|
|
module_init(atyfb_init);
|