From 8a1e54a484b426ddb468c06e767456b3f2e18a36 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Mon, 21 Jan 2013 14:19:23 -0600 Subject: [PATCH] --- yaml --- r: 374192 b: refs/heads/master c: 5993b3ee98c6b1a86fc0f0a4bed12a1dd9f0eae5 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-highbank/highbank.c | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/[refs] b/[refs] index c05675710684..120011e34932 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7a0eca712118862a2ac25413b7ee24deb27808ea +refs/heads/master: 5993b3ee98c6b1a86fc0f0a4bed12a1dd9f0eae5 diff --git a/trunk/arch/arm/mach-highbank/highbank.c b/trunk/arch/arm/mach-highbank/highbank.c index 758150eb9975..e7df2dd43a40 100644 --- a/trunk/arch/arm/mach-highbank/highbank.c +++ b/trunk/arch/arm/mach-highbank/highbank.c @@ -32,8 +32,6 @@ #include #include #include -#include -#include #include #include #include @@ -90,33 +88,16 @@ static void __init highbank_init_irq(void) #endif } -static struct clk_lookup lookup = { - .dev_id = "sp804", - .con_id = NULL, -}; - static void __init highbank_timer_init(void) { - int irq; struct device_node *np; - void __iomem *timer_base; /* Map system registers */ np = of_find_compatible_node(NULL, NULL, "calxeda,hb-sregs"); sregs_base = of_iomap(np, 0); WARN_ON(!sregs_base); - np = of_find_compatible_node(NULL, NULL, "arm,sp804"); - timer_base = of_iomap(np, 0); - WARN_ON(!timer_base); - irq = irq_of_parse_and_map(np, 0); - of_clk_init(NULL); - lookup.clk = of_clk_get(np, 0); - clkdev_add(&lookup); - - sp804_clocksource_and_sched_clock_init(timer_base + 0x20, "timer1"); - sp804_clockevents_init(timer_base, irq, "timer0"); clocksource_of_init(); }