From 7cd88e2e8ad33fd734618ab8ec838087e0e34f14 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 3 Nov 2014 08:32:38 +0000 Subject: BB: lantiq: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIPS: Fix rtlx build error. CC arch/mips/kernel/rtlx.o /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c: In function ‘file_write’: /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c:439:23: error: unused variable ‘rt’ [-Werror=unused-variable] /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c: In function ‘rtlx_module_init’: /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c:523:3: error: implicit declaration of function ‘set_vi_handler’ [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors Caused by 496ad9aa8ef448058e36ca7a787c61f2e63f0f54 [new helper: file_inode(file)]. Signed-off-by: Ralf Baechle Signed-off-by: Eddi De Pieri git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43159 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-3.10/0154-fix-rtlx-build-error.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch (limited to 'target/linux') diff --git a/target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch b/target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch new file mode 100644 index 0000000000..dc5264c9dc --- /dev/null +++ b/target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch @@ -0,0 +1,24 @@ +From b90b3802624e1f2a509f3e9f39775d94ec4762d7 Mon Sep 17 00:00:00 2001 +From: Ralf Baechle +Date: Fri, 21 Jun 2013 18:07:03 +0200 +Subject: [PATCH] MIPS: Fix rtlx build error. + +--- + arch/mips/kernel/rtlx.c | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c +index 6fa198d..d763f11 100644 +--- a/arch/mips/kernel/rtlx.c ++++ b/arch/mips/kernel/rtlx.c +@@ -437,7 +437,6 @@ + size_t count, loff_t * ppos) + { + int minor = iminor(file_inode(file)); +- struct rtlx_channel *rt = &rtlx->channel[minor]; + + /* any space left... */ + if (!rtlx_write_poll(minor)) { + +-- +Gitblit v1.3.1 -- cgit v1.2.3