diff options
Diffstat (limited to 'drivers/pci/pcie/portdrv_pci.c')
| -rw-r--r-- | drivers/pci/pcie/portdrv_pci.c | 13 | 
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index 696caed5fdf..80887eaa066 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c @@ -204,8 +204,8 @@ static int pcie_portdrv_probe(struct pci_dev *dev,  		return -ENODEV;  	if (!dev->irq && dev->pin) { -		dev_warn(&dev->dev, "device [%04x:%04x] has invalid IRQ; " -			 "check vendor BIOS\n", dev->vendor, dev->device); +		dev_warn(&dev->dev, "device [%04x:%04x] has invalid IRQ; check vendor BIOS\n", +			 dev->vendor, dev->device);  	}  	status = pcie_port_device_register(dev);  	if (status) @@ -223,7 +223,6 @@ static int pcie_portdrv_probe(struct pci_dev *dev,  static void pcie_portdrv_remove(struct pci_dev *dev)  {  	pcie_port_device_remove(dev); -	pci_disable_device(dev);  }  static int error_detected_iter(struct device *device, void *data) @@ -390,15 +389,15 @@ static struct pci_driver pcie_portdriver = {  	.probe		= pcie_portdrv_probe,  	.remove		= pcie_portdrv_remove, -	.err_handler 	= &pcie_portdrv_err_handler, +	.err_handler	= &pcie_portdrv_err_handler, -	.driver.pm 	= PCIE_PORTDRV_PM_OPS, +	.driver.pm	= PCIE_PORTDRV_PM_OPS,  };  static int __init dmi_pcie_pme_disable_msi(const struct dmi_system_id *d)  {  	pr_notice("%s detected: will not use MSI for PCIe PME signaling\n", -			d->ident); +		  d->ident);  	pcie_pme_disable_msi();  	return 0;  } @@ -412,7 +411,7 @@ static struct dmi_system_id __initdata pcie_portdrv_dmi_table[] = {  	 .ident = "MSI Wind U-100",  	 .matches = {  		     DMI_MATCH(DMI_SYS_VENDOR, -		     		"MICRO-STAR INTERNATIONAL CO., LTD"), +				"MICRO-STAR INTERNATIONAL CO., LTD"),  		     DMI_MATCH(DMI_PRODUCT_NAME, "U-100"),  		     },  	 },  | 
