diff options
| author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-08-15 18:25:17 -0400 |
|---|---|---|
| committer | Darren Hart <dvhart@linux.intel.com> | 2016-08-29 01:31:52 -0400 |
| commit | f48d1496b8537d75776478c6942dd87f34d7f270 (patch) | |
| tree | f4dc88adb3197c3daaa93cfaff417c805ffc2834 | |
| parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) | |
platform/olpc: Make ec explicitly non-modular
The Kconfig entry controlling compilation of this code is:
arch/x86/Kconfig:config OLPC
arch/x86/Kconfig: bool "One Laptop Per Child support"
...meaning that it currently is not being built as a module by anyone.
Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.
We delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.
Cc: platform-driver-x86@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
| -rw-r--r-- | drivers/platform/olpc/olpc-ec.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index f99b183d5296..374a8028fec7 100644 --- a/drivers/platform/olpc/olpc-ec.c +++ b/drivers/platform/olpc/olpc-ec.c | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Generic driver for the OLPC Embedded Controller. | 2 | * Generic driver for the OLPC Embedded Controller. |
| 3 | * | 3 | * |
| 4 | * Author: Andres Salomon <dilinger@queued.net> | ||
| 5 | * | ||
| 4 | * Copyright (C) 2011-2012 One Laptop per Child Foundation. | 6 | * Copyright (C) 2011-2012 One Laptop per Child Foundation. |
| 5 | * | 7 | * |
| 6 | * Licensed under the GPL v2 or later. | 8 | * Licensed under the GPL v2 or later. |
| @@ -12,7 +14,7 @@ | |||
| 12 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
| 13 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
| 14 | #include <linux/workqueue.h> | 16 | #include <linux/workqueue.h> |
| 15 | #include <linux/module.h> | 17 | #include <linux/init.h> |
| 16 | #include <linux/list.h> | 18 | #include <linux/list.h> |
| 17 | #include <linux/olpc-ec.h> | 19 | #include <linux/olpc-ec.h> |
| 18 | #include <asm/olpc.h> | 20 | #include <asm/olpc.h> |
| @@ -326,8 +328,4 @@ static int __init olpc_ec_init_module(void) | |||
| 326 | { | 328 | { |
| 327 | return platform_driver_register(&olpc_ec_plat_driver); | 329 | return platform_driver_register(&olpc_ec_plat_driver); |
| 328 | } | 330 | } |
| 329 | |||
| 330 | arch_initcall(olpc_ec_init_module); | 331 | arch_initcall(olpc_ec_init_module); |
| 331 | |||
| 332 | MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>"); | ||
| 333 | MODULE_LICENSE("GPL"); | ||
