summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/sh-sci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 5ec1a70cd2f4..36077193f111 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -2635,7 +2635,7 @@ sci_parse_dt(struct platform_device *pdev, unsigned int *dev_id)
2635 if (!IS_ENABLED(CONFIG_OF) || !np) 2635 if (!IS_ENABLED(CONFIG_OF) || !np)
2636 return NULL; 2636 return NULL;
2637 2637
2638 match = of_match_node(of_sci_match, pdev->dev.of_node); 2638 match = of_match_node(of_sci_match, np);
2639 if (!match) 2639 if (!match)
2640 return NULL; 2640 return NULL;
2641 2641