From 1c9a5606d8ff0c664c9e83de38e93d5602312d79 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 29 Apr 2011 18:03:31 +0000 Subject: 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 CC: Heiko Schocher CC: Anatolij Gustschin CC: Tom Rix CC: Minkyu Kang CC: Craig Nauman CC: Marek Vasut CC: Prafulla Wadaskar CC: Mahavir Jain --- include/serial.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/serial.h') diff --git a/include/serial.h b/include/serial.h index f21d96171f..e6d3859bd9 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); -- cgit v1.2.3