aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sh-sci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/sh-sci.c')
-rw-r--r--drivers/tty/serial/sh-sci.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 3b5d2f679946..88236da0ddf7 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -2419,7 +2419,6 @@ static int sci_remove(struct platform_device *dev)
2419struct sci_port_info { 2419struct sci_port_info {
2420 unsigned int type; 2420 unsigned int type;
2421 unsigned int regtype; 2421 unsigned int regtype;
2422 unsigned int scscr_extra;
2423}; 2422};
2424 2423
2425static const struct of_device_id of_sci_match[] = { 2424static const struct of_device_id of_sci_match[] = {
@@ -2430,13 +2429,6 @@ static const struct of_device_id of_sci_match[] = {
2430 .regtype = SCIx_SH4_SCIF_REGTYPE, 2429 .regtype = SCIx_SH4_SCIF_REGTYPE,
2431 }, 2430 },
2432 }, { 2431 }, {
2433 .compatible = "renesas,scif-r8a7779",
2434 .data = (void *)&(const struct sci_port_info) {
2435 .type = PORT_SCIF,
2436 .regtype = SCIx_SH4_SCIF_REGTYPE,
2437 .scscr_extra = SCSCR_CKE1,
2438 },
2439 }, {
2440 .compatible = "renesas,scifa", 2432 .compatible = "renesas,scifa",
2441 .data = &(const struct sci_port_info) { 2433 .data = &(const struct sci_port_info) {
2442 .type = PORT_SCIFA, 2434 .type = PORT_SCIFA,
@@ -2496,7 +2488,7 @@ sci_parse_dt(struct platform_device *pdev, unsigned int *dev_id)
2496 p->flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF; 2488 p->flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF;
2497 p->type = info->type; 2489 p->type = info->type;
2498 p->regtype = info->regtype; 2490 p->regtype = info->regtype;
2499 p->scscr = SCSCR_RE | SCSCR_TE | info->scscr_extra; 2491 p->scscr = SCSCR_RE | SCSCR_TE;
2500 2492
2501 return p; 2493 return p;
2502} 2494}