Commit 8416131d authored by Richard Knutsson's avatar Richard Knutsson Committed by Linus Torvalds

[PATCH] aty: remove unnecessary CONFIG_PCI

Signed-off-by: default avatarRichard Knutsson <ricknu-0@student.ltu.se>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2b4f2f4b
...@@ -3692,9 +3692,7 @@ static int __init atyfb_init(void) ...@@ -3692,9 +3692,7 @@ static int __init atyfb_init(void)
atyfb_setup(option); atyfb_setup(option);
#endif #endif
#ifdef CONFIG_PCI
pci_register_driver(&atyfb_driver); pci_register_driver(&atyfb_driver);
#endif
#ifdef CONFIG_ATARI #ifdef CONFIG_ATARI
atyfb_atari_probe(); atyfb_atari_probe();
#endif #endif
...@@ -3703,9 +3701,7 @@ static int __init atyfb_init(void) ...@@ -3703,9 +3701,7 @@ static int __init atyfb_init(void)
static void __exit atyfb_exit(void) static void __exit atyfb_exit(void)
{ {
#ifdef CONFIG_PCI
pci_unregister_driver(&atyfb_driver); pci_unregister_driver(&atyfb_driver);
#endif
} }
module_init(atyfb_init); module_init(atyfb_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment