[PATCH -mm2] aty: remove unnecessary CONFIG_PCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux