Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757015AbcC2LpG (ORCPT ); Tue, 29 Mar 2016 07:45:06 -0400 Received: from foss.arm.com ([217.140.101.70]:39519 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756825AbcC2LpD (ORCPT ); Tue, 29 Mar 2016 07:45:03 -0400 Date: Tue, 29 Mar 2016 12:45:25 +0100 From: Will Deacon To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Pawel Moll , Olof Johansson , linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com Subject: Re: [PATCH 4/4] drivers/bus: make arm-ccn.c driver explicitly non-modular Message-ID: <20160329114525.GC6745@arm.com> References: <1459113058-14340-1-git-send-email-paul.gortmaker@windriver.com> <1459113058-14340-5-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459113058-14340-5-git-send-email-paul.gortmaker@windriver.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1180 Lines: 29 On Sun, Mar 27, 2016 at 05:10:58PM -0400, Paul Gortmaker wrote: > The Kconfig for this driver is currently: > > config ARM_CCN > bool "ARM CCN driver support" > > ...meaning that it currently is not being built as a module by anyone. > Lets remove the modular code that is essentially orphaned, so that > when reading the driver there is no doubt it is builtin-only. > > We explicitly disallow a driver unbind, since that doesn't have a > sensible use case anyway, and it allows us to drop the ".remove" > code for non-modular drivers. > > Since module_init translates to device_initcall in the non-modular > case, the init ordering remains unchanged with this commit. > > We exchange module.h for moduleparam.h here since the driver uses > module_param_named, and for now the easiest way to remain compatible > with existing bootargs use cases is to leave this as-is. > > We also delete the MODULE_LICENSE tag etc. since all that information > was (or is now) contained at the top of the file in the comments. I'd much rather fix the driver to build as a module, if at all possible. Suzuki (CC'd) is taking a look at that, so please drop this patch for now. Will