summaryrefslogtreecommitdiffstats
path: root/firmware/export/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/power.h')
-rw-r--r--firmware/export/power.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/power.h b/firmware/export/power.h
index d46b9ba924..4937705910 100644
--- a/firmware/export/power.h
+++ b/firmware/export/power.h
@@ -23,6 +23,7 @@
#include "config.h"
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0)
#if CONFIG_CHARGING
enum power_input_flags {
/* No external power source? Default. */
@@ -100,4 +101,6 @@ bool tuner_power(bool status);
bool tuner_powered(void);
#endif
+#endif
+
#endif /* _POWER_H_ */