]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / lpat: make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 11 Jul 2016 21:22:41 +0000 (17:22 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 16 Jul 2016 01:08:10 +0000 (03:08 +0200)
commit93755c31f4a22238edae22a719539b0ed05da52c
tree4616e73bdb02f4a8af246e6ce1a928aaf3acda9e
parent2574e13d5b37ef6f6be5ef201030f5da4be93f45
ACPI / lpat: make it explicitly non-modular

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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_lpat.c