summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/mach/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/mach/time.h')
-rw-r--r--arch/arm/include/asm/mach/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach/time.h b/arch/arm/include/asm/mach/time.h
index 8bffc3ff3acf..35d408f6dccf 100644
--- a/arch/arm/include/asm/mach/time.h
+++ b/arch/arm/include/asm/mach/time.h
@@ -38,7 +38,7 @@ struct sys_timer {
void (*init)(void);
void (*suspend)(void);
void (*resume)(void);
-#ifndef CONFIG_GENERIC_TIME
+#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET
unsigned long (*offset)(void);
#endif
};