diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2006-01-09 23:52:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:42 -0500 |
commit | 8416131ded5e491ecc2947d1ffaedf64725bb7a3 (patch) | |
tree | 2567482d480da5d320cc7af065f03716e41dbbd6 /drivers/video/aty | |
parent | 2b4f2f4b0132afa9f441171285cca354377bf5d0 (diff) |
[PATCH] aty: remove unnecessary CONFIG_PCI
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/aty')
-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); |