Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752900AbcC0VLz (ORCPT ); Sun, 27 Mar 2016 17:11:55 -0400 Received: from mail.windriver.com ([147.11.1.11]:38622 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753157AbcC0VLx (ORCPT ); Sun, 27 Mar 2016 17:11:53 -0400 From: Paul Gortmaker To: CC: Olof Johansson , Will Deacon , Arnd Bergmann , Paul Gortmaker , Brian Norris , Gregory Fong , Florian Fainelli , Subject: [PATCH 1/4] drivers/bus: make brcmstb_gisb.c driver explicitly non-modular Date: Sun, 27 Mar 2016 17:10:55 -0400 Message-ID: <1459113058-14340-2-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1459113058-14340-1-git-send-email-paul.gortmaker@windriver.com> References: <1459113058-14340-1-git-send-email-paul.gortmaker@windriver.com> 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: 1360 Lines: 42 The Kconfig for this driver is currently: config BRCMSTB_GISB_ARB bool "Broadcom STB GISB bus arbiter" ...meaning that it currently is not being built as a module by anyone. Lets remove all modular references, so that when reading the driver there is no doubt it is builtin-only. Since module_init translates to device_initcall in the non-modular case, the init ordering remains unchanged with this commit. Cc: Brian Norris Cc: Gregory Fong Cc: Florian Fainelli Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Paul Gortmaker --- drivers/bus/brcmstb_gisb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/bus/brcmstb_gisb.c b/drivers/bus/brcmstb_gisb.c index f364fa4d24eb..319104b22ca4 100644 --- a/drivers/bus/brcmstb_gisb.c +++ b/drivers/bus/brcmstb_gisb.c @@ -13,7 +13,6 @@ #include #include -#include #include #include #include @@ -408,5 +407,4 @@ static int __init brcm_gisb_driver_init(void) return platform_driver_probe(&brcmstb_gisb_arb_driver, brcmstb_gisb_arb_probe); } - -module_init(brcm_gisb_driver_init); +device_initcall(brcm_gisb_driver_init); -- 2.6.1