summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2013-10-19 14:20:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-10-22 15:28:58 +0200
commit233718d8c514f0e8cbf3770ee8ad2dbc6f1cba1c (patch)
tree3abaa1bf373de675a95850381d23fa773af40abb /drivers/clocksource
parent4754cc79f619ebb08c7e2a1040539a0732ec2993 (diff)
downloadbarebox-233718d8c514f0e8cbf3770ee8ad2dbc6f1cba1c.tar.gz
barebox-233718d8c514f0e8cbf3770ee8ad2dbc6f1cba1c.tar.xz
ARM: bcm2835: register the clocksource driver earlier
RPi's mailbox driver is used early and it needs clock functions to handle timeouts. Promote to a core_initcall(). Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/bcm2835.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/bcm2835.c b/drivers/clocksource/bcm2835.c
index d5fe0f03a2..d1df3d2b2e 100644
--- a/drivers/clocksource/bcm2835.c
+++ b/drivers/clocksource/bcm2835.c
@@ -87,4 +87,4 @@ static int bcm2835_cs_init(void)
{
return platform_driver_register(&bcm2835_cs_driver);
}
-coredevice_initcall(bcm2835_cs_init);
+core_initcall(bcm2835_cs_init);