lkml.org 
[lkml]   [2016]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ACPI / lpat: make it explicitly non-modular
Date
On Monday, July 11, 2016 05:22:41 PM Paul Gortmaker wrote:
> The Makefile for building this is "acpi-y" 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 is rather heavy handed.
>
> The license info is found at the top of the file, so we just remove
> the MODULE_LICENSE and the include of module.h
>
> We add an include of export.h since the file exports some symbols.
>
> 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.061 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site