zephyr/include/drivers
Marcus Shawcroft a715194d43 random: Rewrite sys_rand32_init() with SYS_INIT()
Use the SYS_INIT() mechanism to invoke the sys_rand32_init() function
in random drivers that require an initializer.  Remove all empty
sys_rand32_init() instances.

The existing explicit sys_rand32_init() function runs immediately after
PRE_KERNEL_2 before stack canaries are initialized.  In order to get
equivalent behaviour with sys_rand32_init() we set SYS_INIT() to
initialize the random drivers at the lowest priority of PRE_KERNEL_2.

Change-Id: I4521e44daac806bc4eef01ce7fdf2ba5367e0587
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-12-11 11:18:18 +00:00
..
bluetooth Bluetooth: Move hci_driver.h to include/drivers/bluetooth 2016-11-01 21:40:39 +02:00
clock_control clock_control: Add Beetle clock_control 2016-12-06 10:31:45 -06:00
console uart: fix typo in uart_console.h 2016-11-30 15:05:19 +00:00
ieee802154 ieee802154: cc2520: Externalize how GPIOs are configured 2016-12-02 12:41:20 +02:00
pci c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
serial doc: Fix misuse of @file doxygen tag 2016-02-11 20:11:03 +00:00
spi arm: K64 SPI module driver 2016-03-09 15:50:16 +00:00
usb usb: Add end-point stall APIs and flow control APIS 2016-11-09 02:45:46 +00:00
ioapic.h interrupts: new static IRQ API 2016-02-05 20:25:17 -05:00
k6x_mpu.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
k6x_pmc.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
k20_mcg.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
k20_pcr.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
k20_sim.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
k20_watchdog.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
loapic.h x86: declare internal API for interrupt controllers 2016-09-06 18:35:47 +00:00
mvic.h x86: declare internal API for interrupt controllers 2016-09-06 18:35:47 +00:00
rand32.h random: Rewrite sys_rand32_init() with SYS_INIT() 2016-12-11 11:18:18 +00:00
sysapic.h x86: declare internal API for interrupt controllers 2016-09-06 18:35:47 +00:00
system_timer.h include: remove old kernel defintions 2016-11-07 11:32:57 -08:00