diff options
Diffstat (limited to 'drivers/video/aty/atyfb_base.c')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index d9d7d3c4cae2..eb6aa42be60e 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -3722,7 +3722,9 @@ static int __init atyfb_init(void) | |||
3722 | atyfb_setup(option); | 3722 | atyfb_setup(option); |
3723 | #endif | 3723 | #endif |
3724 | 3724 | ||
3725 | #ifdef CONFIG_PCI | ||
3725 | pci_register_driver(&atyfb_driver); | 3726 | pci_register_driver(&atyfb_driver); |
3727 | #endif | ||
3726 | #ifdef CONFIG_ATARI | 3728 | #ifdef CONFIG_ATARI |
3727 | atyfb_atari_probe(); | 3729 | atyfb_atari_probe(); |
3728 | #endif | 3730 | #endif |
@@ -3731,7 +3733,9 @@ static int __init atyfb_init(void) | |||
3731 | 3733 | ||
3732 | static void __exit atyfb_exit(void) | 3734 | static void __exit atyfb_exit(void) |
3733 | { | 3735 | { |
3736 | #ifdef CONFIG_PCI | ||
3734 | pci_unregister_driver(&atyfb_driver); | 3737 | pci_unregister_driver(&atyfb_driver); |
3738 | #endif | ||
3735 | } | 3739 | } |
3736 | 3740 | ||
3737 | module_init(atyfb_init); | 3741 | module_init(atyfb_init); |