aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-07-11 17:22:41 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-15 21:08:10 -0400
commitc49b43ce03944bb7cfb75f8a4f8f6ba799fa517e (patch)
tree4616e73bdb02f4a8af246e6ce1a928aaf3acda9e /drivers/acpi
parent0f093e95f5b631f35ef7a131a7a9ef48748e2623 (diff)
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpi_lpat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/acpi_lpat.c b/drivers/acpi/acpi_lpat.c
index feb61c1630eb..c1c4877ca96c 100644
--- a/drivers/acpi/acpi_lpat.c
+++ b/drivers/acpi/acpi_lpat.c
@@ -13,7 +13,7 @@
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 */ 14 */
15 15
16#include <linux/module.h> 16#include <linux/export.h>
17#include <linux/acpi.h> 17#include <linux/acpi.h>
18#include <acpi/acpi_lpat.h> 18#include <acpi/acpi_lpat.h>
19 19
@@ -157,5 +157,3 @@ void acpi_lpat_free_conversion_table(struct acpi_lpat_conversion_table
157 } 157 }
158} 158}
159EXPORT_SYMBOL_GPL(acpi_lpat_free_conversion_table); 159EXPORT_SYMBOL_GPL(acpi_lpat_free_conversion_table);
160
161MODULE_LICENSE("GPL");