forked from luck/tmp_suning_uos_patched
PNP material for v4.8-rc1
One simple change to make the PNP core use device_initcall() instead of module_init() to run pnpbios_thread_init() (Paul Gortmaker). -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABCAAGBQJXl8CMAAoJEILEb/54YlRxlwwP/1XEZ07Fj0OMMP5IMZVYtJAf K35M/ERtP8vA8JJ2BSlzekzyccIhL2mmHMqtDGpaHTDYfvsxVAHbmrUOLFtT4gJ4 mS1eN6EsZh4ZYq7a3ewp/r2inoesIHL70UNskDB5FFZQlSucVsZJDXNIu1bYs5+P YdLeI2mCpfgheYMyCqmwcZ9fD6VWONeZG852aDIRCeisqsSnFEsFhdrqpJl8zE1L 5Nzmy11U9z2L0Jgv/VtDDqqAn3XfchL7wVxRhEDPJhi0QDTBdaink5GA0pPt33Ro ciLQFgmuduL0tfDLda6B99aoKk6jhPZlP1VmuHKntmcfKlYAmKR2TUPdFlNxvelk P6x/OpjaxzlQKn3ME7A5z/J6AFzT88AOA1zYNfuMWvLxfMPd3OYo/9Ju2NUxtlZN O6I7zBNKD2/FOndtRnc8jcB+nm4q98D0WyVUPOe4dPuXmH6BQikPs3A7JIH4gjWL TV41D61ivlPCnR4EIc646xueNH9hD+yWlisS+1AfiUSq4S1thciJd+nd/sWsLZvW LfY2EmKvFhKFOoYbfASNS8TkNKNl1ROH1DndO0bQsFxUX/mPPahfJ8Gscaf3Kq3I YrUr4ETmOQru6DIsE8bfm3X5xkF7sXOf//ccFkymmTPXzsGGkpscNMSkTG630URj bGTdD1g4YmqpZFZpVGu9 =GSWF -----END PGP SIGNATURE----- Merge tag 'pnp-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/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
This commit is contained in:
commit
59ebc44e8d
|
@ -46,7 +46,6 @@
|
|||
*/
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/linkage.h>
|
||||
#include <linux/kernel.h>
|
||||
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user