]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tile: add init.h to usb.c to avoid compile failure
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 5 Jun 2015 13:37:19 +0000 (09:37 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 16 Jun 2015 18:12:41 +0000 (14:12 -0400)
commit32e805e7c6a343894c95a3431973e8ddad4aa2cf
tree7d1dec862632b05de35e25181f7e2daf26e06e46
parent9b9cf81a2d1f5336de2bebae71a9f2b8d5f1a8de
tile: add init.h to usb.c to avoid compile failure

Pending header cleanups will reveal this file is using the
init.h content implicitly with the following fail:

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

Explicitly add init.h to get arch_initcall and avoid this.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Acked-by: Chris Metcalf <cmetcalf@ezchip.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/tile/kernel/usb.c