diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-10-01 16:47:31 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-10-09 20:24:36 +0200 |
commit | f3accb122f2c758494a6db3b9e9a8cd62aafcf83 (patch) | |
tree | e04464e532b3df537b2326820a0868a92d848647 /arch/arm/lib | |
parent | ARM: Fix another build warning in arch/arm/mm/alignment.c (diff) | |
download | linux-f3accb122f2c758494a6db3b9e9a8cd62aafcf83.tar.xz linux-f3accb122f2c758494a6db3b9e9a8cd62aafcf83.zip |
ARM: export default read_current_timer
read_current_timer is used by get_cycles since "ARM: 7538/1: delay:
add registration mechanism for delay timer sources", and get_cycles
can be used by device drivers in loadable modules, so it has to
be exported.
Without this patch, building imote2_defconfig fails with
ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined!
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Jonathan Austin <jonathan.austin@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r-- | arch/arm/lib/delay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/delay.c b/arch/arm/lib/delay.c index 9d0a30032d7f..0dc53854a5d8 100644 --- a/arch/arm/lib/delay.c +++ b/arch/arm/lib/delay.c @@ -45,6 +45,7 @@ int read_current_timer(unsigned long *timer_val) *timer_val = delay_timer->read_current_timer(); return 0; } +EXPORT_SYMBOL_GPL(read_current_timer); static void __timer_delay(unsigned long cycles) { |