* [PATCH -mm2] aty: remove unnecessary CONFIG_PCI
@ 2005-11-15 23:52 Richard Knutsson
0 siblings, 0 replies; only message in thread
From: Richard Knutsson @ 2005-11-15 23:52 UTC (permalink / raw)
To: alex.kern; +Cc: linux-kernel
Signed-off-by: Richard Knutsson
---
diff -Narup a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
--- a/drivers/video/aty/atyfb_base.c 2005-11-11 14:59:33.000000000 +0100
+++ b/drivers/video/aty/atyfb_base.c 2005-11-15 23:27:40.000000000 +0100
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-15 23:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 23:52 [PATCH -mm2] aty: remove unnecessary CONFIG_PCI Richard Knutsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox