summaryrefslogtreecommitdiff
path: root/include/x86_power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/x86_power.h')
-rw-r--r--include/x86_power.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/x86_power.h b/include/x86_power.h
index 48744b0786..5693ea3d77 100644
--- a/include/x86_power.h
+++ b/include/x86_power.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
+/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -10,9 +10,13 @@
#include "gpio.h"
+#ifdef CONFIG_CHIPSET_X86
/**
* Interrupt handler for x86 chipset GPIOs.
*/
void x86_power_interrupt(enum gpio_signal signal);
+#else
+#define x86_power_interrupt NULL
+#endif
#endif /* __CROS_EC_X86_POWER_H */