zephyr/drivers/console
Daniel Leung 1ad2a56ee3 serial: rework functions to use struct device...
... instead of an array index to a global array. This is
an intermediate step to make the drivers conform to
the new driver model.

This only changes from using a direct array index to using
device structs. The UARTs are still staticlly defined.
Later patches will make the drivers utilize the driver
initialization procedure specified by the driver model.

Change-Id: I18041bbb4b0efdf8ae87088fd000b391d0827e9b
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:15:25 -05:00
..
Kconfig define UART_CONSOLE_INDEX using Kconfig 2016-02-05 20:14:27 -05:00
Makefile drivers: use subdir-ccflags-y for all drivers 2016-02-05 20:15:19 -05:00
uart_console.c serial: rework functions to use struct device... 2016-02-05 20:15:25 -05:00