From mboxrd@z Thu Jan 1 00:00:00 1970 From: paul.gortmaker@windriver.com (Paul Gortmaker) Date: Sun, 3 Jul 2016 13:30:37 -0400 Subject: [PATCH 1/4] bus: brcmstb_gisb: make it explicitly non-modular In-Reply-To: <20160703173040.23612-1-paul.gortmaker@windriver.com> References: <20160703173040.23612-1-paul.gortmaker@windriver.com> Message-ID: <20160703173040.23612-2-paul.gortmaker@windriver.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Acked-by: Brian Norris Cc: Gregory Fong Cc: Florian Fainelli Acked-by: Florian Fainelli Cc: linux-arm-kernel at 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 72fe0a5a8bf3..2616d8208777 100644 --- a/drivers/bus/brcmstb_gisb.c +++ b/drivers/bus/brcmstb_gisb.c @@ -13,7 +13,6 @@ #include #include -#include #include #include #include @@ -438,5 +437,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.8.4