mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
e7bfda2c24
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
27 lines
895 B
Diff
27 lines
895 B
Diff
From 8124706e6040b1cf0d2dd3a05759df6cec4bddfb Mon Sep 17 00:00:00 2001
|
|
From: Jonas Gorski <jonas.gorski@gmail.com>
|
|
Date: Sun, 16 Jul 2017 12:32:37 +0200
|
|
Subject: [PATCH V2 3/8] tty/bcm63xx_uart: use refclk for the expected clock
|
|
name
|
|
|
|
We now have the clock available under refclk, so use that.
|
|
|
|
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
|
|
---
|
|
drivers/tty/serial/bcm63xx_uart.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/tty/serial/bcm63xx_uart.c
|
|
+++ b/drivers/tty/serial/bcm63xx_uart.c
|
|
@@ -847,7 +847,7 @@ static int bcm_uart_probe(struct platfor
|
|
return -ENODEV;
|
|
|
|
clk = pdev->dev.of_node ? of_clk_get(pdev->dev.of_node, 0) :
|
|
- clk_get(&pdev->dev, "periph");
|
|
+ clk_get(&pdev->dev, "refclk");
|
|
if (IS_ERR(clk))
|
|
return -ENODEV;
|
|
|