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>
This commit is contained in:
committed by
Wolfgang Denk
parent
c52b4f7945
commit
1c9a5606d8
@@ -33,7 +33,6 @@ extern int zoom2_debug_board_connected (void);
|
||||
|
||||
#define S(a) #a
|
||||
#define N(a) S(quad##a)
|
||||
#define U(a) S(UART##a)
|
||||
|
||||
#define QUAD_INIT(n) \
|
||||
int quad_init_##n(void) \
|
||||
@@ -63,7 +62,6 @@ int quad_tstc_##n(void) \
|
||||
struct serial_device zoom2_serial_device##n = \
|
||||
{ \
|
||||
N(n), \
|
||||
U(n), \
|
||||
quad_init_##n, \
|
||||
NULL, \
|
||||
quad_setbrg_##n, \
|
||||
|
||||
Reference in New Issue
Block a user