]> git.baikalelectronics.ru Git - kernel.git/commit
omap2: Make OMAP2PLUS select OMAP_DM_TIMER
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 24 Dec 2010 02:48:09 +0000 (02:48 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Dec 2010 17:39:27 +0000 (09:39 -0800)
commit88aaac31a63106b5b79d1f4e4000b9f081f75338
treed66a7c12dfd36a235fed2bcc642f6d47ea9db41d
parent892c452ea41163171a6aefb7ff6ffa9d8c4afa4c
omap2: Make OMAP2PLUS select OMAP_DM_TIMER

It appears that arch/arm/mach-omap2/timer-gp.o is needed by OMAP2PLUS.
Since timer-gp.o has direct dependencies on omap_dm_timer_*, it seems
correct for the architecture to depend upon OMAP_DM_TIMER, otherwise
unsuspecting integrators will be faced with a whole bunch of linker
errors at the end of their kernel build:

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'
...

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/Kconfig