[U-Boot] [PATCH] serial: zynq: Remove duplicated header

Bin Meng bmeng.cn at gmail.com
Wed Dec 2 13:55:13 CET 2015


On Wed, Dec 2, 2015 at 8:52 PM, Michal Simek <michal.simek at xilinx.com> wrote:
> debug_uart.h is included twice.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/serial/serial_zynq.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c
> index 6807f0f812f5..b2b98dea1561 100644
> --- a/drivers/serial/serial_zynq.c
> +++ b/drivers/serial/serial_zynq.c
> @@ -192,9 +192,6 @@ U_BOOT_DRIVER(serial_zynq) = {
>  };
>
>  #ifdef CONFIG_DEBUG_UART_ZYNQ
> -
> -#include <debug_uart.h>
> -
>  void _debug_uart_init(void)
>  {
>         struct uart_zynq *regs = (struct uart_zynq *)CONFIG_DEBUG_UART_BASE;
> --

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list