]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9e93d4b353a22a6ed982aa2465d9491d1bdef30f
treef8ee6aaf2a90e46a630a113cca127b04ab1f5e2a
parent1acfd046cf0073499a12edb6134fe9e1c911d5fa
[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