From: Gabor Juhos <juhosg@openwrt.org>
Date: Mon, 5 Oct 2009 09:06:16 +0000 (+0000)
Subject: ramips: remove unneccesary ifdefs from the rt288x pci code
X-Git-Tag: reboot~22290
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c8489ba3f8ccf07975f58a0408eee07551561931;p=openwrt%2Fstaging%2Fblogic.git

ramips: remove unneccesary ifdefs from the rt288x pci code

SVN-Revision: 17862
---

diff --git a/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c b/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c
index de2be44153a1..c851e522ca35 100644
--- a/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c
+++ b/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c
@@ -5,8 +5,6 @@
 #include <asm/mach-ralink/rt288x.h>
 #include <asm/mach-ralink/rt288x_pci.h>
 
-#ifdef CONFIG_PCI
-
 #define PCI_ACCESS_READ  0
 #define PCI_ACCESS_WRITE 1
 
@@ -62,4 +60,3 @@ pci_config_write(struct pci_bus *bus, unsigned int devfn,
 		return PCIBIOS_DEVICE_NOT_FOUND;
 	return PCIBIOS_SUCCESSFUL;
 }
-#endif
diff --git a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
index 891a9f8f0fa3..6bf4f4f489ad 100644
--- a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
+++ b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
@@ -6,8 +6,6 @@
 #include <asm/mach-ralink/rt288x.h>
 #include <asm/mach-ralink/rt288x_pci.h>
 
-#ifdef CONFIG_PCI
-
 extern int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
 extern int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val);
 
@@ -126,5 +124,3 @@ struct pci_fixup pcibios_fixups[] = {
 };
 
 arch_initcall(init_rt2880pci);
-
-#endif