summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-29 18:03:31 (GMT)
committerWolfgang Denk <wd@denx.de>2011-07-26 14:38:05 (GMT)
commit1c9a5606d8ff0c664c9e83de38e93d5602312d79 (patch)
tree127f24cf6771ff816bc7bc71b8e0c53eaa05380f /include/serial.h
parentc52b4f794541c9aad15148ae8f4e1af775e3e776 (diff)
downloadu-boot-1c9a5606d8ff0c664c9e83de38e93d5602312d79.tar.xz
serial: drop useless ctlr field
The multi serial support has a "ctlr" field which almost no one uses, but everyone is forced to set to useless strings. So punt it. Funny enough, the only code that actually reads this field (the mpc8xx driver) has a typo where it meant to look for the SCC driver. Fix it while converting the check to use the name field. Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Heiko Schocher <hs@denx.de> CC: Anatolij Gustschin <agust@denx.de> CC: Tom Rix <Tom.Rix@windriver.com> CC: Minkyu Kang <mk7.kang@samsung.com> CC: Craig Nauman <cnauman@diagraph.com> CC: Marek Vasut <marek.vasut@gmail.com> CC: Prafulla Wadaskar <prafulla@marvell.com> CC: Mahavir Jain <mjain@marvell.com>
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/serial.h b/include/serial.h
index f21d961..e6d3859 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -2,11 +2,9 @@
#define __SERIAL_H__
#define NAMESIZE 16
-#define CTLRSIZE 8
struct serial_device {
char name[NAMESIZE];
- char ctlr[CTLRSIZE];
int (*init) (void);
int (*uninit) (void);