diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2010-12-23 21:48:09 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-24 12:39:27 -0500 |
commit | dc69d1af9e8d9cbbabff88bb35a6782187a22229 (patch) | |
tree | d66a7c12dfd36a235fed2bcc642f6d47ea9db41d /arch/arm/plat-omap/Kconfig | |
parent | fe13471c4b546e07ddbaf5fb2209b50c14b99b20 (diff) |
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>
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r-- | arch/arm/plat-omap/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index 11bf9f991509..bc0c7aae3214 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig | |||
@@ -18,6 +18,7 @@ config ARCH_OMAP1 | |||
18 | config ARCH_OMAP2PLUS | 18 | config ARCH_OMAP2PLUS |
19 | bool "TI OMAP2/3/4" | 19 | bool "TI OMAP2/3/4" |
20 | select COMMON_CLKDEV | 20 | select COMMON_CLKDEV |
21 | select OMAP_DM_TIMER | ||
21 | help | 22 | help |
22 | "Systems based on OMAP2, OMAP3 or OMAP4" | 23 | "Systems based on OMAP2, OMAP3 or OMAP4" |
23 | 24 | ||