summaryrefslogtreecommitdiff
path: root/include/device_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/device_state.h')
-rw-r--r--include/device_state.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/device_state.h b/include/device_state.h
index d7ff0661dc..1ad78f002c 100644
--- a/include/device_state.h
+++ b/include/device_state.h
@@ -21,8 +21,7 @@ struct device_config {
enum device_state state; /* Device status */
/* Deferred handler to detect power off */
const struct deferred_data *deferred;
- enum gpio_signal detect_on; /* GPIO detecting power on */
- enum gpio_signal detect_off; /* GPIO detecting power off */
+ enum gpio_signal detect; /* GPIO detecting power on */
};
enum device_type;