summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2006-01-09 20:52:55 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 08:01:42 -0800
commit8416131ded5e491ecc2947d1ffaedf64725bb7a3 (patch)
tree2567482d480da5d320cc7af065f03716e41dbbd6 /drivers
parent2b4f2f4b0132afa9f441171285cca354377bf5d0 (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')
-rw-r--r--drivers/video/aty/atyfb_base.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index 3fefdb0cbf0..d8195f7da83 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)
atyfb_setup(option);
#endif
-#ifdef CONFIG_PCI
pci_register_driver(&atyfb_driver);
-#endif
#ifdef CONFIG_ATARI
atyfb_atari_probe();
#endif
@@ -3703,9 +3701,7 @@ static int __init atyfb_init(void)
static void __exit atyfb_exit(void)
{
-#ifdef CONFIG_PCI
pci_unregister_driver(&atyfb_driver);
-#endif
}
module_init(atyfb_init);