[PATCH -mm2] aty: remove unnecessary CONFIG_PCI

From: Richard Knutsson
Date: Tue Nov 15 2005 - 18:46:50 EST


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);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/