summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch
diff options
context:
space:
mode:
authorRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-06-02 15:32:41 +0300
committerRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-06-02 15:32:41 +0300
commitb03476979520e3e30aab26e7681830fec8710a15 (patch)
treea95149c3cf538b9289405f0c3f9cfc93dd539ed7 /target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch
parent65b0729672fe1fa775a07cf4e520048fd5222b45 (diff)
Fix kernel compilation after rebase
Signed-off-by: Roman Yeryomin <romans.jerjomins@saftehnika.com>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch b/target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch
new file mode 100644
index 000000000..f941d2f70
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch
@@ -0,0 +1,19 @@
+--- linux-2.6.30.9/drivers/net/rtl819x/l3Driver/rtl865x_ip.c.old 2013-06-02 13:00:15.926012867 +0300
++++ linux-2.6.30.9/drivers/net/rtl819x/l3Driver/rtl865x_ip.c 2013-06-02 13:01:05.322014080 +0300
+@@ -80,7 +80,6 @@
+ int i;
+ rtl865x_ip_entry_t *entry = NULL;
+ rtl865x_tblAsicDrv_extIntIpParam_t asicIp;
+- int32 retval = FAILED;
+
+ if(ip_type < IP_TYPE_NAPT || ip_type > IP_TYPE_LOCALSERVER)
+ return RTL_EINVALIDINPUT;
+@@ -127,7 +126,7 @@
+ asicIp.nat = (ip_type == IP_TYPE_NAT)? TRUE: FALSE;
+ asicIp.nhIndex = 0;
+
+- retval = rtl8651_setAsicExtIntIpTable(IP_TABLE_INDEX(entry), &asicIp);
++ rtl8651_setAsicExtIntIpTable(IP_TABLE_INDEX(entry), &asicIp);
+
+ if(ip_type == IP_TYPE_NAPT)
+ rtl8651_setAsicOperationLayer(4);