[PATCH] cpcihp_zt5550: add pci_enable_device()
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 28 Sep 2005 21:15:16 +0000 (15:15 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 22:36:58 +0000 (15:36 -0700)
commitc8920f0c8b3b42537ab4a54ff92c11daf48fdfec
treef8ee6aaf2a90e46a630a113cca127b04ab1f5e2a
parentd3535fbbce0eef8faa8de30d187fc83b11b858ef
[PATCH] cpcihp_zt5550: add pci_enable_device()

Add pci_{enable,disable}_device() calls.  Without pci_enable_device(),
dev->irq is garbage, and cpcihp_zt5550 relies on it.

Compiled but untested, since I don't have the hardware.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Scott Murray <scottm@somanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

 drivers/pci/hotplug/cpcihp_zt5550.c |   25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)
drivers/pci/hotplug/cpcihp_zt5550.c