Эх сурвалжийг харах

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@sf-tec.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Rolf Eike Beer 19 жил өмнө
parent
commit
9d05cd5178

+ 0 - 4
drivers/mtd/devices/pmc551.c

@@ -99,10 +99,6 @@
 #include <asm/system.h>
 #include <asm/system.h>
 #include <linux/pci.h>
 #include <linux/pci.h>
 
 
-#ifndef CONFIG_PCI
-#error Enable PCI in your kernel config
-#endif
-
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/pmc551.h>
 #include <linux/mtd/pmc551.h>
 #include <linux/mtd/compatmac.h>
 #include <linux/mtd/compatmac.h>