X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=drivers%2Fpci%2Fprobe.c;h=003d112a783dac2c4d0741f1758e2c7104d8a9b3;hb=c6285fc5b55ecbf78c53301a191f04bb2fda1b3a;hp=4b3b29bc7a820fc91982f61bb11042c1b9915663;hpb=fbfa398b84a5fc6e085dedba5ec3e94f21815d05;p=uclinux-h8%2Flinux.git diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 4b3b29bc7a82..003d112a783d 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1249,15 +1249,8 @@ static void program_hpp_type0(struct pci_dev *dev, struct hpp_type0 *hpp) { u16 pci_cmd, pci_bctl; - if (!hpp) { - /* - * Perhaps we *should* use default settings for PCIe, but - * pciehp didn't, so we won't either. - */ - if (pci_is_pcie(dev)) - return; + if (!hpp) hpp = &pci_default_type0; - } if (hpp->revision > 1) { dev_warn(&dev->dev,