summaryrefslogtreecommitdiff
path: root/libdde_linux26/lib/src/arch/l4/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdde_linux26/lib/src/arch/l4/power.c')
-rw-r--r--libdde_linux26/lib/src/arch/l4/power.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/libdde_linux26/lib/src/arch/l4/power.c b/libdde_linux26/lib/src/arch/l4/power.c
new file mode 100644
index 00000000..e36487bd
--- /dev/null
+++ b/libdde_linux26/lib/src/arch/l4/power.c
@@ -0,0 +1,23 @@
+/* Dummy functions for power management. */
+
+#include "local.h"
+#include <linux/device.h>
+
+int device_pm_add(struct device * dev)
+{
+ WARN_UNIMPL;
+ return 0;
+}
+
+
+void device_pm_remove(struct device * dev)
+{
+ WARN_UNIMPL;
+}
+
+int pm_qos_add_requirement(int qos, char *name, s32 value) { return 0; }
+int pm_qos_update_requirement(int qos, char *name, s32 new_value) { return 0; }
+void pm_qos_remove_requirement(int qos, char *name) { }
+int pm_qos_requirement(int qos) { return 0; }
+int pm_qos_add_notifier(int qos, struct notifier_block *notifier) { return 0; }
+int pm_qos_remove_notifier(int qos, struct notifier_block *notifier) { return 0; }