diff options
author | Myron Stowe <myron.stowe@hp.com> | 2010-05-26 17:43:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:50 -0400 |
commit | 8c8eae2742d5ad05ef6e5b53c88e70a5231d7d9a (patch) | |
tree | a45d86d1183f236c1b779d675ae0c32199319325 /drivers | |
parent | ddac44b7b21b72c0d9d6882ac8d7027afc25138c (diff) |
ipmi: convert tracking of the ACPI device pointer to a PNP device
Convert PNP patch (git 9e368fa011d4e0aa050db348d69514900520e40b) to
maintain a pointer to a PNP device, 'pnp_dev', instead of the ACPI device,
'acpi_dev', that is currently being tracked with PNP based IPMI device
discovery.
Signed-off-by: Myron Stowe <myron.stowe@hp.com>
Acked-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Corey Minyard <minyard@acm.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 6503d995b727..31bbcbdd178a 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -2183,7 +2183,7 @@ static int __devinit ipmi_pnp_probe(struct pnp_dev *dev, | |||
2183 | info->irq_setup = std_irq_setup; | 2183 | info->irq_setup = std_irq_setup; |
2184 | } | 2184 | } |
2185 | 2185 | ||
2186 | info->dev = &acpi_dev->dev; | 2186 | info->dev = &dev->dev; |
2187 | pnp_set_drvdata(dev, info); | 2187 | pnp_set_drvdata(dev, info); |
2188 | 2188 | ||
2189 | return add_smi(info); | 2189 | return add_smi(info); |