drivers: Remove legacy nanokernel.h include

This commit replaces the nanokernel.h include by kernel.h.

Change-Id: Ib42fbf2d9f77a73c0831f569b3dbbfb342ea2e1d
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
This commit is contained in:
Flavio Santes 2016-12-04 14:59:37 -06:00
commit b04cdcd6e6
68 changed files with 69 additions and 68 deletions

View file

@ -19,7 +19,7 @@
#include <errno.h>
#include <init.h>
#include <nanokernel.h>
#include <kernel.h>
#include <string.h>
#include <stdlib.h>
#include <board.h>

View file

@ -16,7 +16,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>

View file

@ -17,7 +17,7 @@
*/
#include <nanokernel.h>
#include <kernel.h>
#include <misc/printk.h>
#include <device.h>
#include <init.h>

View file

@ -21,7 +21,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <board.h>
#include <uart.h>

View file

@ -15,7 +15,7 @@
*/
#include <misc/sys_log.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <string.h>
#include <flash.h>

View file

@ -17,7 +17,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -20,7 +20,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <errno.h>

View file

@ -16,7 +16,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <gpio.h>
#include "gpio_dw.h"
#include "gpio_utils.h"

View file

@ -20,7 +20,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <gpio.h>

View file

@ -21,7 +21,7 @@
#ifndef _GPIO_K64_H_
#define _GPIO_K64_H_
#include <nanokernel.h>
#include <kernel.h>
#include <gpio.h>

View file

@ -20,7 +20,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <gpio.h>

View file

@ -16,7 +16,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <soc.h>
#include <gpio.h>

View file

@ -15,7 +15,7 @@
*/
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <init.h>
#include <stdbool.h>

View file

@ -34,7 +34,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <board.h>
#include <i2c.h>

View file

@ -21,7 +21,7 @@
#include <stdbool.h>
#include <i2c.h>
#include <nanokernel.h>
#include <kernel.h>
#include <init.h>
#include <arch/cpu.h>
#include <string.h>

View file

@ -25,9 +25,10 @@
* interrupt unit. The ARCv2 interrupt unit is highly programmable.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <board.h>
extern void *_VectorTable;
void _arc_v2_irq_unit_init(void)

View file

@ -23,7 +23,7 @@
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <toolchain.h>
#include <sections.h>

View file

@ -60,7 +60,7 @@
*
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include "board.h"

View file

@ -87,7 +87,7 @@
* INCLUDE FILES: loapic.h
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <stdint.h>
#include <string.h>

View file

@ -42,7 +42,7 @@
/* includes */
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <misc/util.h>

View file

@ -22,7 +22,7 @@
#include <misc/__assert.h>
#include "board.h"
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <drivers/ioapic.h>
#include <drivers/loapic.h>

View file

@ -16,7 +16,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <stdint.h>
#include <string.h>
#include <device.h>

View file

@ -20,7 +20,7 @@
#ifndef __INCquark_se_mailboxh
#define __INCquark_se_mailboxh
#include <nanokernel.h>
#include <kernel.h>
#include <board.h> /* for SCSS_REGISTER_BASE */
#include <ipm.h>
#include <device.h>

View file

@ -79,7 +79,7 @@
* That will work as long as there are relevant results found.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/printk.h>
#include <toolchain.h>

View file

@ -23,7 +23,7 @@
*
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <pci/pci_mgr.h>

View file

@ -22,7 +22,7 @@
* This module implements the PCI H/W access functions.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <pci/pci_mgr.h>

View file

@ -22,7 +22,7 @@
* detection of the bridge and using the bridge to configure the routing between
* PCI interrupt pins and IRQs.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <drivers/pci/pci_mgr.h>

View file

@ -16,7 +16,7 @@
#include <device.h>
#include <init.h>
#include <nanokernel.h>
#include <kernel.h>
#include <pinmux.h>
#include <soc.h>
#include <sys_io.h>

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <board.h>
#include <device.h>

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <board.h>
#include <device.h>

View file

@ -18,7 +18,7 @@
#include <device.h>
#include <init.h>
#include <nanokernel.h>
#include <kernel.h>
#include <pinmux.h>
#include <soc.h>
#include <sys_io.h>

View file

@ -23,7 +23,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <soc.h>
#include "pinmux.h"

View file

@ -18,7 +18,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -16,7 +16,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <sys_io.h>

View file

@ -17,7 +17,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <sys_io.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <pinmux.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <pinmux.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <pinmux.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <pinmux.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <pinmux.h>

View file

@ -23,7 +23,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <soc.h>
#include "pinmux.h"

View file

@ -29,7 +29,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <board.h>
#include <pwm.h>

View file

@ -47,7 +47,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <board.h>
#include <k20_sim.h>

View file

@ -20,7 +20,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <i2c.h>
#include <pwm.h>

View file

@ -26,7 +26,7 @@
#include <drivers/rand32.h>
#include <drivers/system_timer.h>
#include <nanokernel.h>
#include <kernel.h>
#include <atomic.h>
#if defined(__GNUC__)

View file

@ -24,7 +24,7 @@
* provide a random number generator.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <drivers/rand32.h>

View file

@ -150,7 +150,7 @@ static int bmi160_pmu_set(struct device *dev, union bmi160_pmu_status *pmu_sts)
}
/*
* Cannot use a nano timer here since this is called from the
* Cannot use a timer here since this is called from the
* init function and the timeouts were not initialized yet.
*/
k_busy_wait(cmds[i].delay_us);

View file

@ -15,7 +15,7 @@
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <uart.h>
#include <sys_io.h>

View file

@ -28,7 +28,7 @@
* (used uart_stellaris.c as template)
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <board.h>

View file

@ -16,7 +16,7 @@
/* See www.ti.com/lit/pdf/swru367, section 6, for CC3200 UART info. */
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <uart.h>

View file

@ -20,7 +20,7 @@
* UART has two wires for RX and TX, and does not provide CTS or RTS.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <board.h>

View file

@ -21,7 +21,7 @@
* called to setup the port.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <stdint.h>

View file

@ -18,7 +18,7 @@
* @brief Driver for Nordic Semiconductor nRF5X UART
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <board.h>

View file

@ -32,7 +32,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <stdint.h>

View file

@ -16,7 +16,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <sections.h>
#include <misc/__assert.h>

View file

@ -26,7 +26,7 @@
* and STDOUT_CONSOLE APIs.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <board.h>

View file

@ -25,7 +25,7 @@
* transmitter (USART)
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <board.h>

View file

@ -16,7 +16,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <shared_irq.h>
#include <init.h>

View file

@ -18,7 +18,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>

View file

@ -18,7 +18,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>

View file

@ -48,7 +48,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/util.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <device.h>
#include <system_timer.h>

View file

@ -51,7 +51,7 @@
* @endinternal
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <toolchain.h>
#include <sections.h>

View file

@ -37,7 +37,7 @@
* conjunction with a microkernel.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <misc/__assert.h>

View file

@ -54,7 +54,7 @@
* microkernel.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <sys_clock.h>

View file

@ -75,7 +75,7 @@
* @endinternal
*/
#include <nanokernel.h>
#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <sys_clock.h>

View file

@ -28,7 +28,7 @@
* processing any queued ticks.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <init.h>
#include <drivers/system_timer.h>