]> err.no Git - linux-2.6/blobdiff - include/asm-x86/hpet.h
x86: offer is_hpet_enabled() on !CONFIG_HPET_TIMER too
[linux-2.6] / include / asm-x86 / hpet.h
index ad8d6e758785ca283b33b802880945f4e8c1f4ee..624f600f716180a7340999d34bc73ef21f9dc2b2 100644 (file)
@@ -80,10 +80,11 @@ extern irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id);
 
 #endif /* CONFIG_HPET_EMULATE_RTC */
 
-#else
+#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; }
 
-#endif /* CONFIG_HPET_TIMER */
+#endif
 #endif /* ASM_X86_HPET_H */