Getting build error with 3.10.81-rt88 and vanilla kernel 3.10.81 in below line, ./drivers/clocksource/tcb_clksrc.c:195: timer_clock = clk32k_divisor_idx;
Below kernel config enabled: CONFIG_ATMEL_TCLIB=y CONFIG_ATMEL_TCB_CLKSRC=y CONFIG_ATMEL_TCB_CLKSRC_BLOCK=0 CONFIG_GENERIC_CLOCKEVENTS=y Compiler: arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease) Kernel booting is not successful. [ 0.109375] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.109375] ehci-atmel: EHCI Atmel driver [ 0.109375] atmel-ehci 700000.ehci: EHCI Host Controller [ 0.109375] atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1 [ 0.109375] atmel-ehci 700000.ehci: irq 26, io mem 0x00700000 Thanks, Sreejith Below patch fixed the compiler error: diff -uNr linux-3.10.81-rt-orig/drivers/clocksource/tcb_clksrc.c linux-3.10.81-rt-mine/drivers/clocksource/tcb_clksrc.c --- linux-3.10.81-rt-orig/drivers/clocksource/tcb_clksrc.c 2015-06-25 12:01:00.274877048 +0530 +++ linux-3.10.81-rt-mine/drivers/clocksource/tcb_clksrc.c 2015-06-25 11:58:10.190868730 +0530 @@ -192,7 +192,7 @@ clkevt.clk = t2_clk; tc_irqaction.dev_id = &clkevt; - timer_clock = clk32k_divisor_idx; + timer_clock = divisor_idx; clkevt.clkevt.cpumask = cpumask_of(0); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/