]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/clocksource/metag_generic.c
clocksource: arm_arch_timer: split MMIO timer probing.
[mirror_ubuntu-zesty-kernel.git] / drivers / clocksource / metag_generic.c
index a80ab3e446b7111476a007f975930572f7afe537..6fcf96540631d2d9a53a1f64978e99d4cc2f26ab 100644 (file)
@@ -56,7 +56,7 @@ static int metag_timer_set_next_event(unsigned long delta,
        return 0;
 }
 
-static cycle_t metag_clocksource_read(struct clocksource *cs)
+static u64 metag_clocksource_read(struct clocksource *cs)
 {
        return __core_reg_get(TXTIMER);
 }
@@ -154,6 +154,6 @@ int __init metag_generic_timer_init(void)
 
        /* Hook cpu boot to configure the CPU's timers */
        return cpuhp_setup_state(CPUHP_AP_METAG_TIMER_STARTING,
-                                "AP_METAG_TIMER_STARTING",
+                                "clockevents/metag:starting",
                                 arch_timer_starting_cpu, NULL);
 }