9
0
Fork 0

serial: ns16550: Remove unused fields from NS16550_plat structure

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2014-10-30 13:32:31 +03:00 committed by Sascha Hauer
parent bc0f7e9c41
commit c0d6aa097d
2 changed files with 1 additions and 7 deletions

View File

@ -441,10 +441,7 @@ static int ns16550_probe(struct device_d *dev)
cdev->setbrg = ns16550_setbaudrate;
cdev->linux_console_name = devtype->linux_console_name;
if (plat && (plat->flags & NS16650_FLAG_DISABLE_FIFO))
priv->fcrval = FCRVAL & ~FCR_FIFO_EN;
else
priv->fcrval = FCRVAL;
priv->fcrval = FCRVAL;
devtype->init_port(cdev);

View File

@ -34,9 +34,6 @@ struct NS16550_plat {
/** Clock speed */
unsigned int clock;
int shift;
unsigned int flags;
int mmio;
#define NS16650_FLAG_DISABLE_FIFO 1
};
#endif /* __NS16650_PLATFORM_H_ */