Commit 917c7fc2 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Rafael J. Wysocki

PNP: make pnpbios core explicitly non-modular

The Kconfig currently controlling compilation of this code is:

config PNPBIOS
        bool "Plug and Play BIOS support"

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modularity, so that when reading the
driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent a99cde43
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
*/ */
#include <linux/types.h> #include <linux/types.h>
#include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -587,6 +586,6 @@ static int __init pnpbios_thread_init(void) ...@@ -587,6 +586,6 @@ static int __init pnpbios_thread_init(void)
} }
/* Start the kernel thread later: */ /* Start the kernel thread later: */
module_init(pnpbios_thread_init); device_initcall(pnpbios_thread_init);
EXPORT_SYMBOL(pnpbios_protocol); EXPORT_SYMBOL(pnpbios_protocol);
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