/* Returns 0 on success, or negative on failure.  */
int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn)
/* Returns 0 on success, or negative on failure.  */
int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn)
{
	might_sleep();
	if (!dev->is_physfn)
		return -ENODEV;
	return sriov_enable(dev, nr_virtfn);
}