Skip to content

Commit

Permalink
Merge tag 'pnp-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
Browse files Browse the repository at this point in the history
…git/rafael/linux-pm

Pull PNP update from Rafael Wysocki:
 "One simple change to make the PNP core use device_initcall() instead
  of module_init() to run pnpbios_thread_init() (Paul Gortmaker)"

* tag 'pnp-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  PNP: make pnpbios core explicitly non-modular
  • Loading branch information
torvalds committed Jul 27, 2016
2 parents e663107 + 917c7fc commit 59ebc44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/pnp/pnpbios/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
*/

#include <linux/types.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/linkage.h>
#include <linux/kernel.h>
Expand Down Expand Up @@ -587,6 +586,6 @@ static int __init pnpbios_thread_init(void)
}

/* Start the kernel thread later: */
module_init(pnpbios_thread_init);
device_initcall(pnpbios_thread_init);

EXPORT_SYMBOL(pnpbios_protocol);

0 comments on commit 59ebc44

Please sign in to comment.