[PATCH 05/10] ARM: bcm2835: register the clocksource driver earlier

Andre Heider a.heider at gmail.com
Sat Oct 19 08:20:50 EDT 2013


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 at gmail.com>
---
 drivers/clocksource/bcm2835.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/bcm2835.c b/drivers/clocksource/bcm2835.c
index d5fe0f0..d1df3d2 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);
-- 
1.8.3.2




More information about the barebox mailing list