Skip to contentSkip to conversation

dm: serial: remove bogus include <ns16550.h>

PATCH New Masahiro Yamada 3 participants 4 messages Mar 20, 2015 – Mar 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 drivers/serial/serial-uclass.c | 2 --
 1 file changed, 2 deletions(-)
drivers/serial/serial-uclass.c +0 -2
index 3fc7104..2de3737 100644
@@ -16,8 +16,6 @@
 #include <dm/lists.h>
 #include <dm/device-internal.h>
 
-#include <ns16550.h>
-
 DECLARE_GLOBAL_DATA_PTR;
 
 /*
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 dm: serial: remove bogus include <ns16550.h>

Quoted 6 lines · Masahiro Yamada

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150320/fdc59133/attachment.sig>
#2 lore raw

PATCH 1/1 dm: serial: remove bogus include <ns16550.h>

Quoted 10 lines · Tom Rini
Quoted 6 lines · Masahiro Yamada

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.

#3 lore raw

PATCH 1/1 dm: serial: remove bogus include <ns16550.h>

Quoted 8 lines · Simon Glass
Quoted 7 lines · Tom Rini
Quoted 5 lines · Masahiro Yamada

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.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Applied to u-boot-dm, thanks!