summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-02 20:30:41 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-05 08:27:10 +0200
commit6e40610d519f5f2d0135559715ce7d8916db7018 (patch)
tree64b06674dfe97713725beab206ae19b35ed1c5d9 /drivers/clocksource
parentedf543d93e3ff66f9f8bb384eb49857f81c34ca3 (diff)
downloadbarebox-6e40610d519f5f2d0135559715ce7d8916db7018.tar.gz
barebox-6e40610d519f5f2d0135559715ce7d8916db7018.tar.xz
clocksource: orion: lookup clock by physbase
This converts Kirkwood and Dove SoC init to register tclk alias for timer by physbase instead of name. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/orion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/orion.c b/drivers/clocksource/orion.c
index e3db845de6..8817dfeefa 100644
--- a/drivers/clocksource/orion.c
+++ b/drivers/clocksource/orion.c
@@ -49,7 +49,7 @@ static int orion_timer_probe(struct device_d *dev)
uint32_t val;
timer_base = dev_request_mem_region(dev, 0);
- tclk = clk_get(dev, "tclk");
+ tclk = clk_get(dev, NULL);
/* setup TIMER0 as free-running clock source */
__raw_writel(~0, timer_base + TIMER0_VAL);