summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/hpet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/hpet.h')
-rw-r--r--include/asm-x86/hpet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/hpet.h b/include/asm-x86/hpet.h
index 6a9b4ac59bf7..82f1ac641bd7 100644
--- a/include/asm-x86/hpet.h
+++ b/include/asm-x86/hpet.h
@@ -86,8 +86,8 @@ extern void hpet_unregister_irq_handler(rtc_irq_handler handler);
#else /* CONFIG_HPET_TIMER */
static inline int hpet_enable(void) { return 0; }
-static inline unsigned long hpet_readl(unsigned long a) { return 0; }
static inline int is_hpet_enabled(void) { return 0; }
+#define hpet_readl(a) 0
#endif
#endif /* ASM_X86_HPET_H */