projects
/
~tnikolova
/
compat
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e4b4b6
)
Updates the pm-qos array indexes to match upstream
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Tue, 12 Jan 2010 00:44:06 +0000
(16:44 -0800)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Tue, 12 Jan 2010 00:44:06 +0000
(16:44 -0800)
This style is used now upstream for the pm-qos object array
declaration.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat-2.6.25.c
patch
|
blob
|
history
diff --git
a/compat/compat-2.6.25.c
b/compat/compat-2.6.25.c
index
e1a81ae
..
7ce4232
100644
(file)
--- a/
compat/compat-2.6.25.c
+++ b/
compat/compat-2.6.25.c
@@
-107,11
+107,11
@@
static struct pm_qos_object system_bus_freq_pm_qos = {
static struct pm_qos_object *pm_qos_array[] = {
- &null_pm_qos,
- &cpu_dma_pm_qos,
- &network_lat_pm_qos,
- &network_throughput_pm_qos,
- &system_bus_freq_pm_qos,
+
[PM_QOS_RESERVED] =
&null_pm_qos,
+
[PM_QOS_CPU_DMA_LATENCY] =
&cpu_dma_pm_qos,
+
[PM_QOS_NETWORK_LATENCY] =
&network_lat_pm_qos,
+
[PM_QOS_NETWORK_THROUGHPUT] =
&network_throughput_pm_qos,
+
[PM_QOS_SYSTEM_BUS_FREQ] =
&system_bus_freq_pm_qos,
};
static DEFINE_SPINLOCK(pm_qos_lock);