From b03476979520e3e30aab26e7681830fec8710a15 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Sun, 2 Jun 2013 15:32:41 +0300 Subject: Fix kernel compilation after rebase Signed-off-by: Roman Yeryomin --- .../patches-2.6.30/fix-rtl865x_ip-compile.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch (limited to 'target/linux/realtek/patches-2.6.30/fix-rtl865x_ip-compile.patch') 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); -- cgit v1.2.3