lkml.org 
[lkml]   [2016]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] acpi: make dock explicitly non-modular
Date
On Monday, July 11, 2016 04:23:26 PM Paul Gortmaker wrote:
> The Kconfig for this file is:
>
> drivers/acpi/Kconfig:config ACPI_DOCK
> drivers/acpi/Kconfig: bool "Dock"
>
> ...and so it is not built as a module. Hence including module.h
> and everything that comes with it just for the no-op MODULE_LICENSE
> and friends is rather heavy handed.
>
> The license/author info is found at the top of the file, so we
> just remove the MODULE_LICENSE etc and the include of module.h
>
> The file does still have some module_param() so we add the right
> include for that infrastructure.
>
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: Len Brown <lenb@kernel.org>
> Cc: linux-acpi@vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Applied, thanks!

\
 
 \ /
  Last update: 2016-07-19 22:41    [W:0.414 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site