diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 17:18:03 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 06:57:52 -0600 |
commit | 9d922450aa9944ecf8c249c892078cda80f40e02 (patch) | |
tree | fb1333b82562bf0f69e7b3e7e2cd4cce519db751 /drivers/serial | |
parent | 31493dd5ffc74e2d5d1f1112fd2267e37d4fd698 (diff) | |
download | u-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.gz |
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust
existing users to include that always, even if other dm/ includes are
present
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial_bcm6345.c | 2 | ||||
-rw-r--r-- | drivers/serial/serial_uniphier.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_bcm6345.c b/drivers/serial/serial_bcm6345.c index 0843b48bea..b8e63b41ab 100644 --- a/drivers/serial/serial_bcm6345.c +++ b/drivers/serial/serial_bcm6345.c @@ -8,12 +8,12 @@ */ #include <clk.h> +#include <dm.h> #include <debug_uart.h> #include <errno.h> #include <serial.h> #include <asm/io.h> #include <asm/types.h> -#include <dm/device.h> /* UART Control register */ #define UART_CTL_REG 0x0 diff --git a/drivers/serial/serial_uniphier.c b/drivers/serial/serial_uniphier.c index 0e25cba6ac..7c6a049692 100644 --- a/drivers/serial/serial_uniphier.c +++ b/drivers/serial/serial_uniphier.c @@ -6,11 +6,11 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <dm.h> #include <linux/io.h> #include <linux/serial_reg.h> #include <linux/sizes.h> #include <linux/errno.h> -#include <dm/device.h> #include <serial.h> #include <fdtdec.h> |