[PATCH] aty: remove unnecessary CONFIG_PCI
authorRichard Knutsson <ricknu-0@student.ltu.se>
Tue, 10 Jan 2006 04:52:55 +0000 (20:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:42 +0000 (08:01 -0800)
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>
drivers/video/aty/atyfb_base.c

index 3fefdb0cbf07be5b5da584b5a1c2df870d5229dd..d8195f7da834d0c0f09c085ab36c117a5ef65cc6 100644 (file)
@@ -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);