#define _POWER_CTRL_H_
#include <linux/types.h>
+#ifdef CONFIG_AMLOGIC_POWER
int power_ctrl_sleep(bool power_on, unsigned int shift);
int power_ctrl_iso(bool power_on, unsigned int shift);
int power_ctrl_mempd0(bool power_on, unsigned int mask_val, unsigned int shift);
+#else
+static inline int power_ctrl_sleep(bool power_on, unsigned int shift)
+{
+ return -EINVAL;
+}
+
+static inline int power_ctrl_iso(bool power_on, unsigned int shift)
+{
+ return -EINVAL;
+}
+
+static inline int power_ctrl_mempd0(bool power_on, unsigned int mask_val,
+ unsigned int shift)
+{
+ return -EINVAL;
+}
+#endif
#endif /*_POWER_CTRL_H_*/