summaryrefslogtreecommitdiff
path: root/include/chipset_haswell.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/chipset_haswell.h')
-rw-r--r--include/chipset_haswell.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/chipset_haswell.h b/include/chipset_haswell.h
index ef61922008..5a4eaf9dc6 100644
--- a/include/chipset_haswell.h
+++ b/include/chipset_haswell.h
@@ -11,6 +11,10 @@
/**
* Interrupt handler for Haswell-specific GPIOs.
*/
+#ifdef CONFIG_CHIPSET_HASWELL
void haswell_interrupt(enum gpio_signal signal);
+#else
+#define haswell_interrupt NULL
+#endif
#endif