summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/power/qcom.h2
-rw-r--r--power/qcom.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/power/qcom.h b/include/power/qcom.h
index 2c071481fd..b2e2f72e27 100644
--- a/include/power/qcom.h
+++ b/include/power/qcom.h
@@ -13,7 +13,9 @@ enum power_signal {
SC7X80_POWER_GOOD,
SC7X80_WARM_RESET,
SC7X80_AP_SUSPEND,
+#ifdef CONFIG_CHIPSET_SC7180
SC7X80_DEPRECATED_AP_RST_REQ,
+#endif
POWER_SIGNAL_COUNT,
};
#endif
diff --git a/power/qcom.c b/power/qcom.c
index c6a87c9b92..a57f13483e 100644
--- a/power/qcom.c
+++ b/power/qcom.c
@@ -64,11 +64,13 @@ const struct power_signal_info power_signal_list[] = {
POWER_SIGNAL_ACTIVE_HIGH,
"AP_SUSPEND",
},
+#ifdef CONFIG_CHIPSET_SC7180
[SC7X80_DEPRECATED_AP_RST_REQ] = {
GPIO_DEPRECATED_AP_RST_REQ,
POWER_SIGNAL_ACTIVE_HIGH,
"DEPRECATED_AP_RST_REQ",
},
+#endif /* defined(CONFIG_CHIPSET_SC7180) */
};
BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);