/* pci_write_vpd - Write entry to Vital Product Data @dev: pci device struct @pos: offset in vpd space @count: number of bytes to write @buf: buffer containing write data  */
ssize_t pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void *buf)
/* pci_write_vpd - Write entry to Vital Product Data @dev: pci device struct @pos: offset in vpd space @count: number of bytes to write @buf: buffer containing write data  */
ssize_t pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void *buf)
{
	if (!dev->vpd || !dev->vpd->ops)
		return -ENODEV;
	return dev->vpd->ops->write(dev, pos, count, buf);
}