diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-05 09:06:16 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-05 09:06:16 +0000 |
commit | 5eda36d4a16c73af33b7ff5e995f8ca62a3d41d1 (patch) | |
tree | 5f21486b180955e87e6a1af30f05c02c35e6072b /target/linux/ramips | |
parent | 4bcf783a2987d843bcb4923e2a46be978c3247a1 (diff) | |
download | upstream-5eda36d4a16c73af33b7ff5e995f8ca62a3d41d1.tar.gz upstream-5eda36d4a16c73af33b7ff5e995f8ca62a3d41d1.tar.bz2 upstream-5eda36d4a16c73af33b7ff5e995f8ca62a3d41d1.zip |
ramips: remove unneccesary ifdefs from the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17862 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/files/arch/mips/pci/ops-rt288x.c | 3 | ||||
-rw-r--r-- | target/linux/ramips/files/arch/mips/pci/pci-rt288x.c | 4 |
2 files changed, 0 insertions, 7 deletions
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 de2be44153..c851e522ca 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 891a9f8f0f..6bf4f4f489 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 |