浏览代码

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 年之前
父节点
当前提交
9d05cd5178
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      drivers/mtd/devices/pmc551.c

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

@@ -99,10 +99,6 @@
 #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>