[U-Boot] [PATCH] dm: serial: remove bogus include <ns16550.h>

Serial-uclass should be generically implemented without depending a particular hardware. Fortunately, nothing in include/ns16550.h is referenced from drivers/serial/serial-uclass.c, so remove this bogus include.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com ---
drivers/serial/serial-uclass.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index 3fc7104..2de3737 100644 --- a/drivers/serial/serial-uclass.c +++ b/drivers/serial/serial-uclass.c @@ -16,8 +16,6 @@ #include <dm/lists.h> #include <dm/device-internal.h>
-#include <ns16550.h> - DECLARE_GLOBAL_DATA_PTR;
/*

On Fri, Mar 20, 2015 at 01:24:45PM +0900, Masahiro Yamada wrote:
Serial-uclass should be generically implemented without depending a particular hardware. Fortunately, nothing in include/ns16550.h is referenced from drivers/serial/serial-uclass.c, so remove this bogus include.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
Reviewed-by: Tom Rini trini@konsulko.com

On 20 March 2015 at 09:24, Tom Rini trini@konsulko.com wrote:
On Fri, Mar 20, 2015 at 01:24:45PM +0900, Masahiro Yamada wrote:
Serial-uclass should be generically implemented without depending a particular hardware. Fortunately, nothing in include/ns16550.h is referenced from drivers/serial/serial-uclass.c, so remove this bogus include.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
Reviewed-by: Tom Rini trini@konsulko.com
Acked-by: Simon Glass sjg@chromium.org

On 20 March 2015 at 17:52, Simon Glass sjg@chromium.org wrote:
On 20 March 2015 at 09:24, Tom Rini trini@konsulko.com wrote:
On Fri, Mar 20, 2015 at 01:24:45PM +0900, Masahiro Yamada wrote:
Serial-uclass should be generically implemented without depending a particular hardware. Fortunately, nothing in include/ns16550.h is referenced from drivers/serial/serial-uclass.c, so remove this bogus include.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
Reviewed-by: Tom Rini trini@konsulko.com
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!
participants (3)
-
Masahiro Yamada
-
Simon Glass
-
Tom Rini