From f992f34277cf3464c1be5416c3d4ed0b7f0075e9 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 5 Oct 2009 09:06:10 +0000 Subject: [PATCH] ramips: add Kbuild patch for the rt288x pci code, and fix invalid header file paths SVN-Revision: 17860 --- target/linux/ramips/files/arch/mips/pci/ops-rt288x.c | 5 +++-- target/linux/ramips/files/arch/mips/pci/pci-rt288x.c | 5 +++-- .../ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch | 7 +++++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch 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 44dadc9af1..2bbe1f4e7d 100644 --- a/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c +++ b/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c @@ -7,8 +7,9 @@ #include #include #include -#include -#include + +#include +#include #ifdef CONFIG_PCI 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 8baefc3f25..d4c65b6d04 100644 --- a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c +++ b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c @@ -5,11 +5,12 @@ #include #include #include -#include -#include #include #include +#include +#include + #ifdef CONFIG_PCI extern int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val); diff --git a/target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch b/target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch new file mode 100644 index 0000000000..a1adbb53f3 --- /dev/null +++ b/target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch @@ -0,0 +1,7 @@ +--- a/arch/mips/pci/Makefile ++++ b/arch/mips/pci/Makefile +@@ -52,3 +52,4 @@ + obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o + obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o + obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o ++obj-$(CONFIG_SOC_RT288X) += pci-rt288x.o ops-rt288x.o -- 2.25.1