]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tile: fix build failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 7 Sep 2015 14:36:57 +0000 (20:06 +0530)
committerChris Metcalf <cmetcalf@ezchip.com>
Mon, 28 Sep 2015 15:23:39 +0000 (11:23 -0400)
commit3a48d13d76c0088a988a2e4f5b4d94872bdf58f3
treeda02915719443e014b8967b1960cb5020205687f
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
tile: fix build failure

When building with allmodconfig the build was failing with the error:

arch/tile/kernel/usb.c:70:1: warning: data definition has no type or storage class [enabled by default]
arch/tile/kernel/usb.c:70:1: error: type defaults to 'int' in declaration of 'arch_initcall' [-Werror=implicit-int]
arch/tile/kernel/usb.c:70:1: warning: parameter names (without types) in function declaration [enabled by default]
arch/tile/kernel/usb.c:63:19: warning: 'tilegx_usb_init' defined but not used [-Wunused-function]

Include linux/module.h to resolve the build failure.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/kernel/usb.c