summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/004-stop-gcc-dying.diff
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-09-13 00:40:35 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-26 00:44:46 +0300
commita27354c9021a8423ef8c7d2bffad49cbf639eec1 (patch)
tree2355929a4b8cf1888cd0797cfabdb42e0077c524 /target/linux/realtek/patches-2.6.30/004-stop-gcc-dying.diff
parent24a776baeb5d3cd903b144c89ceb11c5bc36a49e (diff)
Add realtek target files
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/004-stop-gcc-dying.diff')
-rw-r--r--target/linux/realtek/patches-2.6.30/004-stop-gcc-dying.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/004-stop-gcc-dying.diff b/target/linux/realtek/patches-2.6.30/004-stop-gcc-dying.diff
new file mode 100644
index 000000000..9a34f898f
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/004-stop-gcc-dying.diff
@@ -0,0 +1,18 @@
+Index: linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
+===================================================================
+--- linux-2.6.30.9.orig/drivers/net/wireless/rtl8192cd/8192cd_cfg.h 2011-12-04 15:04:13.000000000 +0000
++++ linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_cfg.h 2011-12-04 15:05:08.000000000 +0000
+@@ -1709,6 +1709,13 @@
+ #undef CONFIG_RTK_VLAN_SUPPORT
+ #endif
+
++#undef __DRAM_IN_865X
++#undef __IRAM_IN_865X
++#undef __MIPS16
++
++#define __DRAM_IN_865X
++#define __IRAM_IN_865X
++#define __MIPS16
+
+ #endif // _8192CD_CFG_H_
+