diff options
author | Roman Yeryomin <romans.jerjomins@saftehnika.com> | 2013-06-02 15:32:41 +0300 |
---|---|---|
committer | Roman Yeryomin <romans.jerjomins@saftehnika.com> | 2013-06-02 15:32:41 +0300 |
commit | b03476979520e3e30aab26e7681830fec8710a15 (patch) | |
tree | a95149c3cf538b9289405f0c3f9cfc93dd539ed7 /target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch | |
parent | 65b0729672fe1fa775a07cf4e520048fd5222b45 (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_asicL2-compile.patch')
-rw-r--r-- | target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch b/target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch new file mode 100644 index 000000000..b666fd851 --- /dev/null +++ b/target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch @@ -0,0 +1,20 @@ +--- linux-2.6.30.9/drivers/net/rtl819x/AsicDriver/rtl865x_asicL2.c.old 2013-06-02 11:38:30.489892324 +0300 ++++ linux-2.6.30.9/drivers/net/rtl819x/AsicDriver/rtl865x_asicL2.c 2013-06-02 11:37:36.665891001 +0300 +@@ -7807,7 +7807,7 @@ + + int32 rtl8651_setAsicEthernetLinkStatus(uint32 port, int8 linkUp) + { +- int8 notify; ++// int8 notify; + // uint32 portmask; + + if (port >= (RTL8651_PORT_NUMBER+rtl8651_totalExtPortNum)) +@@ -7815,7 +7815,7 @@ + return FAILED; + } + +- notify = (rtl8651AsicEthernetTable[port].linkUp != ((linkUp==TRUE)? TRUE: FALSE))?TRUE:FALSE; ++// notify = (rtl8651AsicEthernetTable[port].linkUp != ((linkUp==TRUE)? TRUE: FALSE))?TRUE:FALSE; + + + rtl8651AsicEthernetTable[port].linkUp = (linkUp == TRUE)? TRUE: FALSE; |