diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-06-05 15:37:19 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-06-16 20:12:41 +0200 |
commit | 32e805e7c6a343894c95a3431973e8ddad4aa2cf (patch) | |
tree | 7d1dec862632b05de35e25181f7e2daf26e06e46 /arch/tile | |
parent | arm: fix implicit #include <linux/init.h> in entry asm. (diff) | |
download | linux-32e805e7c6a343894c95a3431973e8ddad4aa2cf.tar.xz linux-32e805e7c6a343894c95a3431973e8ddad4aa2cf.zip |
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>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/kernel/usb.c b/arch/tile/kernel/usb.c index 5af8debc6a71..f0da5a237e94 100644 --- a/arch/tile/kernel/usb.c +++ b/arch/tile/kernel/usb.c @@ -21,6 +21,7 @@ #include <linux/dma-mapping.h> #include <linux/platform_device.h> #include <linux/usb/tilegx.h> +#include <linux/init.h> #include <linux/types.h> static u64 ehci_dmamask = DMA_BIT_MASK(32); |