While compiling a kernel today I found the build was failing with a fair number
of errors while linking vmlinux,

  arch/arm/mach-omap2/built-in.o: In function `omap2_gp_timer_set_mode':
  /home/bgamari/trees/linux-2.6/arch/arm/mach-omap2/timer-gp.c:84: undefined 
reference to `omap_dm_timer_stop'
  /home/bgamari/trees/linux-2.6/arch/arm/mach-omap2/timer-gp.c:88: undefined 
reference to `omap_dm_timer_get_fclk'
  /home/bgamari/trees/linux-2.6/arch/arm/mach-omap2/timer-gp.c:90: undefined 
reference to `omap_dm_timer_set_load_start'
  ...

After investigating a bit more deeply, I found that I had neglected to enable
OMAP_DM_TIMER. Looking further, I found that ARCH_OMAP2PLUS builds timer_gp.o,
which itself has symbol dependencies on the dm_timer framework. Given this
face, it seems that the easiest solution would be to do as I have done in this
patch and make ARCH_OMAP2PLUS depend on OMAP_DM_TIMER, since it will not build
without it. That being said, is it necessary to keep OMAP_DM_TIMER
configurable? What is this option actually buying us?

Cheers,

- Ben

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to