]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
PM / QoS: Set cpu_dma_pm_qos->name
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 6 Nov 2011 20:54:12 +0000 (21:54 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 6 Nov 2011 20:54:12 +0000 (21:54 +0100)
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>
kernel/power/qos.c

index 5167d996cd02309cad2b85b5fc12b95df554acb7..ce02281d3af74b985bb37d64b9a97dd8de3da622 100644 (file)
@@ -69,6 +69,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);