kernel: deprecate old init levels
PRIMARY, SECONDARY, NANOKERNEL, MICROKERNEL init levels are now deprecated. New init levels introduced: PRE_KERNEL_1, PRE_KERNEL_2, POST_KERNEL to replace them. Most existing code has instances of PRIMARY replaced with PRE_KERNEL_1, SECONDARY with POST_KERNEL as SECONDARY has had a longstanding bug where the documentation specified SECONDARY ran before the kernel started up, but actually ran afterwards. Change-Id: I771bc634e9caf7f17dbf214a270bc9967eed7d32 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
183a79cf6e
commit
0b474eef9c
150 changed files with 281 additions and 238 deletions
|
@ -244,4 +244,4 @@ int tmp112_init(struct device *dev)
|
|||
static struct tmp112_data tmp112_driver;
|
||||
|
||||
DEVICE_INIT(tmp112, CONFIG_TMP112_NAME, tmp112_init, &tmp112_driver,
|
||||
NULL, SECONDARY, CONFIG_SENSOR_INIT_PRIORITY);
|
||||
NULL, POST_KERNEL, CONFIG_SENSOR_INIT_PRIORITY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue