uart: fix compilation error when interrupt is enabled

Fixes the compilation error when CONFIG_UART_INTERRUPT_DRIVEN
is enabled.

Change-Id: I175eb6557a8ec9fa7291e20a5c05ee84797c230b
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2015-12-03 09:35:43 -08:00 committed by Anas Nashif
commit ef25238be0

View file

@ -30,6 +30,8 @@
extern "C" {
#endif
#include <stddef.h>
#include <device.h>
#ifdef CONFIG_PCI