aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/qos.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2011-11-06 21:54:12 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-11-07 23:02:24 +0100
commita6f05b97d1ba87326bd96f3da9fef994830d6994 (patch)
treed3e4aa1f3d0691c45842b49338d2fce8e74a43e7 /kernel/power/qos.c
parent94956eed14b4b16d401c8ad36d68df0608f968cb (diff)
downloadkernel_goldelico_gta04-a6f05b97d1ba87326bd96f3da9fef994830d6994.zip
kernel_goldelico_gta04-a6f05b97d1ba87326bd96f3da9fef994830d6994.tar.gz
kernel_goldelico_gta04-a6f05b97d1ba87326bd96f3da9fef994830d6994.tar.bz2
PM / QoS: Set cpu_dma_pm_qos->name
Since commit 4a31a334, the name of this misc device is not initialized, which leads to a funny device named /dev/(null) being created and /proc/misc containing an entry with just a number but no name. The latter leads to complaints by cryptsetup, which caused me to investigate this matter. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power/qos.c')
-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 56db751..995e3bd 100644
--- a/kernel/power/qos.c
+++ b/kernel/power/qos.c
@@ -70,6 +70,7 @@ static struct pm_qos_constraints cpu_dma_constraints = {
};
static struct pm_qos_object cpu_dma_pm_qos = {
.constraints = &cpu_dma_constraints,
+ .name = "cpu_dma_latency",
};
static BLOCKING_NOTIFIER_HEAD(network_lat_notifier);