|
@@ -604,7 +604,8 @@ static bool pci_has_legacy_pm_support(struct pci_dev *pci_dev)
|
|
|
* supported as well. Drivers are supposed to support either the
|
|
|
* former, or the latter, but not both at the same time.
|
|
|
*/
|
|
|
- WARN_ON(ret && drv->driver.pm);
|
|
|
+ WARN(ret && drv->driver.pm, "driver %s device %04x:%04x\n",
|
|
|
+ drv->name, pci_dev->vendor, pci_dev->device);
|
|
|
|
|
|
return ret;
|
|
|
}
|