Commit f48d1496 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Darren Hart

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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: default avatarAndres Salomon <dilinger@queued.net>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 3eab887a
/* /*
* Generic driver for the OLPC Embedded Controller. * Generic driver for the OLPC Embedded Controller.
* *
* Author: Andres Salomon <dilinger@queued.net>
*
* Copyright (C) 2011-2012 One Laptop per Child Foundation. * Copyright (C) 2011-2012 One Laptop per Child Foundation.
* *
* Licensed under the GPL v2 or later. * Licensed under the GPL v2 or later.
...@@ -12,7 +14,7 @@ ...@@ -12,7 +14,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/module.h> #include <linux/init.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/olpc-ec.h> #include <linux/olpc-ec.h>
#include <asm/olpc.h> #include <asm/olpc.h>
...@@ -326,8 +328,4 @@ static int __init olpc_ec_init_module(void) ...@@ -326,8 +328,4 @@ static int __init olpc_ec_init_module(void)
{ {
return platform_driver_register(&olpc_ec_plat_driver); return platform_driver_register(&olpc_ec_plat_driver);
} }
arch_initcall(olpc_ec_init_module); arch_initcall(olpc_ec_init_module);
MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment