Re: [PATCH] ACPI / lpat: make it explicitly non-modular

From: Rafael J. Wysocki
Date: Tue Jul 19 2016 - 16:04:29 EST


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@xxxxxxxxxxxxx>
> Cc: Len Brown <lenb@xxxxxxxxxx>
> Cc: linux-acpi@xxxxxxxxxxxxxxx
> Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>

Applied, thanks!