Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423876AbbFEOgT (ORCPT ); Fri, 5 Jun 2015 10:36:19 -0400 Received: from mail.windriver.com ([147.11.1.11]:47972 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932311AbbFEOgS (ORCPT ); Fri, 5 Jun 2015 10:36:18 -0400 From: Paul Gortmaker To: CC: Paul Gortmaker , Chris Metcalf Subject: [PATCH] tile: add init.h to usb.c to avoid compile failure Date: Fri, 5 Jun 2015 10:36:04 -0400 Message-ID: <1433514964-5945-1-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.2.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1595 Lines: 42 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 Cc: Chris Metcalf Signed-off-by: Paul Gortmaker --- [adding this to the header move series of commits; see https://lkml.kernel.org/r/1433276168-21550-1-git-send-email-paul.gortmaker@windriver.com for original series posting. ] arch/tile/kernel/usb.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#include #include static u64 ehci_dmamask = DMA_BIT_MASK(32); -- 2.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/