diff mbox

[v2,2/3] ipmi: Convert tracking of the ACPI device pointer to a PNP device

Message ID 20100313181347.20614.7897.stgit@bob.kio (mailing list archive)
State New, archived
Headers show

Commit Message

Myron Stowe March 13, 2010, 6:13 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 86a7dd7..0e31aa9 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2093,7 +2093,7 @@  static int __devinit ipmi_pnp_probe(struct pnp_dev *dev,
 		info->irq_setup = std_irq_setup;
 	}
 
-	info->dev = &acpi_dev->dev;
+	info->dev = &dev->dev;
 	pnp_set_drvdata(dev, info);
 
 	return try_smi_init(info);