MIPS: Fix rtlx build error.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 12:10:24 +0000 (14:10 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 Jun 2013 16:07:03 +0000 (18:07 +0200)
commitb90b3802624e1f2a509f3e9f39775d94ec4762d7
tree5daf68200b3b96d83196dbd2492408098e21ae55
parentcd6cbde6b01b6e82662cad392c0d177b4af17443
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 <ralf@linux-mips.org>
arch/mips/kernel/rtlx.c