summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-09-17 20:25:51 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-17 20:25:51 +0200
commit87a2337abdd752d711724d7654a6db1b5b4c0d4d (patch)
treebd59e6a86d5b623f065ab162a465af7ceed7466d
parentMerge branch 'pm-shmobile' (diff)
parentPM / QoS: Add return code to pm_qos_get_value function. (diff)
downloadlinux-87a2337abdd752d711724d7654a6db1b5b4c0d4d.tar.xz
linux-87a2337abdd752d711724d7654a6db1b5b4c0d4d.zip
Merge branch 'pm-qos'
* pm-qos: PM / QoS: Add return code to pm_qos_get_value function.
-rw-r--r--kernel/power/qos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/qos.c b/kernel/power/qos.c
index 6a031e684026..846bd42c7ed1 100644
--- a/kernel/power/qos.c
+++ b/kernel/power/qos.c
@@ -139,6 +139,7 @@ static inline int pm_qos_get_value(struct pm_qos_constraints *c)
default:
/* runtime check for not using enum */
BUG();
+ return PM_QOS_DEFAULT_VALUE;
}
}