remove #error on !PCI from pmc551.c

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Jul 15 08:59:01 EDT 2006


Commit:     9d05cd51780c3855976b26cbee265490a0a10be9
Parent:     6a5a297cf78e64ed68577f3e3480bc10abf0124b
commit 9d05cd51780c3855976b26cbee265490a0a10be9
Author:     Rolf Eike Beer <eike-kernel at sf-tec.de>
AuthorDate: Fri Jul 14 14:39:06 2006 +0200
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat Jul 15 13:19:55 2006 +0100

    remove #error on !PCI from pmc551.c
    
    PMC551 depends on PCI in Kconfig so there is no need to #error in code if PCI
    is not set.
    
    Signed-off-by: Rolf Eike Beer <eike-kernel at sf-tec.de>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/devices/pmc551.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c
index 6f9bbf6..2c01497 100644
--- a/drivers/mtd/devices/pmc551.c
+++ b/drivers/mtd/devices/pmc551.c
@@ -99,10 +99,6 @@ #include <asm/io.h>
 #include <asm/system.h>
 #include <linux/pci.h>
 
-#ifndef CONFIG_PCI
-#error Enable PCI in your kernel config
-#endif
-
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/pmc551.h>
 #include <linux/mtd/compatmac.h>



More information about the linux-mtd-cvs mailing list