aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-07-20 22:49:00 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-07-20 22:49:00 +0200
commit911d28c51827fb0dbf2dcc1e3f2f7618c87cf1eb (patch)
tree4efaf1dcffcff9a8c4c99d0a34002fe69a84b980
parent59fdcc01a4952a521dbae619254d1d4e3f0651e7 (diff)
dca: Fix fallout from raw_spinlock conversion
Compiling stuff helps even if there is no hardware to test on. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--drivers/dca/dca-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c
index c09dcae94e12..b1206042e43d 100644
--- a/drivers/dca/dca-core.c
+++ b/drivers/dca/dca-core.c
@@ -307,7 +307,7 @@ int register_dca_provider(struct dca_provider *dca, struct device *dev)
if (!domain) {
raw_spin_unlock_irqrestore(&dca_lock, flags);
- newdomain = dca_allocate_domain(rc);
+ newdomain = dca_allocate_domain(dca_pci_rc_from_dev(dev));
if (!newdomain)
return -ENODEV;