aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/pmc551.c
diff options
context:
space:
mode:
authorRolf Eike Beer <eike-kernel@sf-tec.de>2006-07-14 14:39:06 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2006-07-15 13:19:55 +0100
commit9d05cd51780c3855976b26cbee265490a0a10be9 (patch)
treef662b2c674e642350e36a86218880b1b773e2cf9 /drivers/mtd/devices/pmc551.c
parentMTD: [NAND] Fix the sharpsl driver after breakage from a core conversion (diff)
downloadlinux-dev-9d05cd51780c3855976b26cbee265490a0a10be9.tar.xz
linux-dev-9d05cd51780c3855976b26cbee265490a0a10be9.zip
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>
Diffstat (limited to 'drivers/mtd/devices/pmc551.c')
-rw-r--r--drivers/mtd/devices/pmc551.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c
index 6f9bbf6fee4d..2c0149708739 100644
--- a/drivers/mtd/devices/pmc551.c
+++ b/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>