diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2012-09-20 23:53:46 +0400 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2012-09-20 23:53:46 +0400 |
commit | dc4ac7e4bb2f6fab3affd37e3665acfe84148c03 (patch) | |
tree | 25493bdb501dc339c7314868dce8a02126a200d6 | |
parent | 4045ef959be2fa13b21ac3cc3b28ffb6f126ec9f (diff) |
Export read_current_timer()tracking-ll-last-minute-fixes-ll-20120926.0tracking-ll-last-minute-fixes-ll-20120920.0
This fixes the following error (reveals if CONFIG_ARM_ARCH_TIMER=y):
Building modules, stage 2.
MODPOST 1106 modules
ERROR: "read_current_timer" [drivers/video/udlfb.ko] undefined!
ERROR: "read_current_timer" [drivers/gpu/drm/udl/udl.ko] undefined!
ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined!
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r-- | arch/arm/kernel/arch_timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/arch_timer.c b/arch/arm/kernel/arch_timer.c index 16fd0fd122af..f2ffe8dd1403 100644 --- a/arch/arm/kernel/arch_timer.c +++ b/arch/arm/kernel/arch_timer.c @@ -19,6 +19,7 @@ #include <linux/interrupt.h> #include <linux/of_irq.h> #include <linux/io.h> +#include <linux/export.h> #include <asm/cputype.h> #include <asm/localtimer.h> @@ -232,6 +233,7 @@ int read_current_timer(unsigned long *timer_val) *timer_val = arch_counter_get_cntpct(); return 0; } +EXPORT_SYMBOL(read_current_timer); static struct clocksource clocksource_counter = { .name = "arch_sys_counter", |