diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 3fefdb0cbf07..d8195f7da834 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -3692,9 +3692,7 @@ static int __init atyfb_init(void) | |||
3692 | atyfb_setup(option); | 3692 | atyfb_setup(option); |
3693 | #endif | 3693 | #endif |
3694 | 3694 | ||
3695 | #ifdef CONFIG_PCI | ||
3696 | pci_register_driver(&atyfb_driver); | 3695 | pci_register_driver(&atyfb_driver); |
3697 | #endif | ||
3698 | #ifdef CONFIG_ATARI | 3696 | #ifdef CONFIG_ATARI |
3699 | atyfb_atari_probe(); | 3697 | atyfb_atari_probe(); |
3700 | #endif | 3698 | #endif |
@@ -3703,9 +3701,7 @@ static int __init atyfb_init(void) | |||
3703 | 3701 | ||
3704 | static void __exit atyfb_exit(void) | 3702 | static void __exit atyfb_exit(void) |
3705 | { | 3703 | { |
3706 | #ifdef CONFIG_PCI | ||
3707 | pci_unregister_driver(&atyfb_driver); | 3704 | pci_unregister_driver(&atyfb_driver); |
3708 | #endif | ||
3709 | } | 3705 | } |
3710 | 3706 | ||
3711 | module_init(atyfb_init); | 3707 | module_init(atyfb_init); |