diff options
author | John Crispin <blogic@openwrt.org> | 2014-11-14 18:51:41 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-11-14 18:51:41 +0000 |
commit | 30492476b8000a75174119f2d347bd1569fd0452 (patch) | |
tree | 0bb5852d53fa910b2e8ed29a5465e43c84a7a0fa /target/linux/ramips/patches-3.14 | |
parent | 87c8d59b138f4cdc4ae9f3591e59b18dcbaf38f9 (diff) | |
download | upstream-30492476b8000a75174119f2d347bd1569fd0452.tar.gz upstream-30492476b8000a75174119f2d347bd1569fd0452.tar.bz2 upstream-30492476b8000a75174119f2d347bd1569fd0452.zip |
ralink: make the sdhci module build again
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43274 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/patches-3.14')
-rw-r--r-- | target/linux/ramips/patches-3.14/0060-soc_type.patch | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/target/linux/ramips/patches-3.14/0060-soc_type.patch b/target/linux/ramips/patches-3.14/0060-soc_type.patch index f59be39f88..33b676bdf0 100644 --- a/target/linux/ramips/patches-3.14/0060-soc_type.patch +++ b/target/linux/ramips/patches-3.14/0060-soc_type.patch @@ -1,7 +1,7 @@ Index: linux-3.14.18/arch/mips/include/asm/mach-ralink/mt7620.h =================================================================== ---- linux-3.14.18.orig/arch/mips/include/asm/mach-ralink/mt7620.h 2014-11-13 15:45:37.331344390 +0100 -+++ linux-3.14.18/arch/mips/include/asm/mach-ralink/mt7620.h 2014-11-13 15:45:37.679357795 +0100 +--- linux-3.14.18.orig/arch/mips/include/asm/mach-ralink/mt7620.h 2014-11-14 14:37:58.341438796 +0100 ++++ linux-3.14.18/arch/mips/include/asm/mach-ralink/mt7620.h 2014-11-14 14:38:04.453668044 +0100 @@ -13,14 +13,6 @@ #ifndef _MT7620_REGS_H_ #define _MT7620_REGS_H_ @@ -19,8 +19,8 @@ Index: linux-3.14.18/arch/mips/include/asm/mach-ralink/mt7620.h #define SYSC_REG_CHIP_NAME0 0x00 Index: linux-3.14.18/arch/mips/include/asm/mach-ralink/ralink_regs.h =================================================================== ---- linux-3.14.18.orig/arch/mips/include/asm/mach-ralink/ralink_regs.h 2014-11-13 15:45:37.019332371 +0100 -+++ linux-3.14.18/arch/mips/include/asm/mach-ralink/ralink_regs.h 2014-11-13 16:22:25.320391798 +0100 +--- linux-3.14.18.orig/arch/mips/include/asm/mach-ralink/ralink_regs.h 2014-11-14 14:37:58.341438796 +0100 ++++ linux-3.14.18/arch/mips/include/asm/mach-ralink/ralink_regs.h 2014-11-14 14:38:04.453668044 +0100 @@ -13,6 +13,20 @@ #ifndef _RALINK_REGS_H_ #define _RALINK_REGS_H_ @@ -44,8 +44,8 @@ Index: linux-3.14.18/arch/mips/include/asm/mach-ralink/ralink_regs.h Index: linux-3.14.18/arch/mips/include/asm/mach-ralink/rt305x.h =================================================================== ---- linux-3.14.18.orig/arch/mips/include/asm/mach-ralink/rt305x.h 2014-11-13 15:45:37.311343619 +0100 -+++ linux-3.14.18/arch/mips/include/asm/mach-ralink/rt305x.h 2014-11-13 15:45:37.679357795 +0100 +--- linux-3.14.18.orig/arch/mips/include/asm/mach-ralink/rt305x.h 2014-11-14 14:37:58.341438796 +0100 ++++ linux-3.14.18/arch/mips/include/asm/mach-ralink/rt305x.h 2014-11-14 14:38:04.453668044 +0100 @@ -13,25 +13,16 @@ #ifndef _RT305X_REGS_H_ #define _RT305X_REGS_H_ @@ -98,8 +98,8 @@ Index: linux-3.14.18/arch/mips/include/asm/mach-ralink/rt305x.h #define RT305X_SYSC_BASE 0x10000000 Index: linux-3.14.18/arch/mips/ralink/mt7620.c =================================================================== ---- linux-3.14.18.orig/arch/mips/ralink/mt7620.c 2014-11-13 15:45:37.311343619 +0100 -+++ linux-3.14.18/arch/mips/ralink/mt7620.c 2014-11-13 15:45:37.679357795 +0100 +--- linux-3.14.18.orig/arch/mips/ralink/mt7620.c 2014-11-14 14:37:58.341438796 +0100 ++++ linux-3.14.18/arch/mips/ralink/mt7620.c 2014-11-14 14:38:04.453668044 +0100 @@ -43,8 +43,6 @@ #define CLKCFG_FFRAC_MASK 0x001f #define CLKCFG_FFRAC_USB_VAL 0x0003 @@ -170,8 +170,8 @@ Index: linux-3.14.18/arch/mips/ralink/mt7620.c rt2880_pinmux_data = mt7620a_pinmux_data; Index: linux-3.14.18/arch/mips/ralink/rt305x.c =================================================================== ---- linux-3.14.18.orig/arch/mips/ralink/rt305x.c 2014-11-13 15:45:37.363345622 +0100 -+++ linux-3.14.18/arch/mips/ralink/rt305x.c 2014-11-13 15:45:37.679357795 +0100 +--- linux-3.14.18.orig/arch/mips/ralink/rt305x.c 2014-11-14 14:37:58.341438796 +0100 ++++ linux-3.14.18/arch/mips/ralink/rt305x.c 2014-11-14 14:38:04.453668044 +0100 @@ -21,8 +21,6 @@ #include "common.h" @@ -213,9 +213,9 @@ Index: linux-3.14.18/arch/mips/ralink/rt305x.c } else { Index: linux-3.14.18/arch/mips/ralink/prom.c =================================================================== ---- linux-3.14.18.orig/arch/mips/ralink/prom.c 2014-11-13 16:09:38.442855784 +0100 -+++ linux-3.14.18/arch/mips/ralink/prom.c 2014-11-13 16:10:20.220466636 +0100 -@@ -15,9 +15,12 @@ +--- linux-3.14.18.orig/arch/mips/ralink/prom.c 2014-11-14 14:37:58.341438796 +0100 ++++ linux-3.14.18/arch/mips/ralink/prom.c 2014-11-14 18:36:23.815612485 +0100 +@@ -15,9 +15,13 @@ #include <asm/bootinfo.h> #include <asm/addrspace.h> @@ -225,6 +225,7 @@ Index: linux-3.14.18/arch/mips/ralink/prom.c struct ralink_soc_info soc_info; +enum ralink_soc_type ralink_soc; ++EXPORT_SYMBOL_GPL(ralink_soc); const char *get_system_type(void) { |