static int __init bfin_cs_gptimer0_init(void) { setup_gptimer0(); if (clocksource_register_hz(&bfin_cs_gptimer0, get_sclk())) panic("failed to register clocksource"); return 0; }
static int __init bfin_cs_gptimer0_init(void) { setup_gptimer0(); bfin_cs_gptimer0.mult = \ clocksource_hz2mult(get_sclk(), bfin_cs_gptimer0.shift); if (clocksource_register(&bfin_cs_gptimer0)) panic("failed to register clocksource"); return 0; }