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:
parent
bc0f7e9c41
commit
c0d6aa097d
|
@ -441,10 +441,7 @@ static int ns16550_probe(struct device_d *dev)
|
||||||
cdev->setbrg = ns16550_setbaudrate;
|
cdev->setbrg = ns16550_setbaudrate;
|
||||||
cdev->linux_console_name = devtype->linux_console_name;
|
cdev->linux_console_name = devtype->linux_console_name;
|
||||||
|
|
||||||
if (plat && (plat->flags & NS16650_FLAG_DISABLE_FIFO))
|
priv->fcrval = FCRVAL;
|
||||||
priv->fcrval = FCRVAL & ~FCR_FIFO_EN;
|
|
||||||
else
|
|
||||||
priv->fcrval = FCRVAL;
|
|
||||||
|
|
||||||
devtype->init_port(cdev);
|
devtype->init_port(cdev);
|
||||||
|
|
||||||
|
|
|
@ -34,9 +34,6 @@ struct NS16550_plat {
|
||||||
/** Clock speed */
|
/** Clock speed */
|
||||||
unsigned int clock;
|
unsigned int clock;
|
||||||
int shift;
|
int shift;
|
||||||
unsigned int flags;
|
|
||||||
int mmio;
|
|
||||||
#define NS16650_FLAG_DISABLE_FIFO 1
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __NS16650_PLATFORM_H_ */
|
#endif /* __NS16650_PLATFORM_H_ */
|
||||||
|
|
Loading…
Reference in New Issue