/* Will be called only by the device core when all users of this pci device are done.  */
static void pci_release_dev(struct device *dev)
/* Will be called only by the device core when all users of this pci device are done.  */
static void pci_release_dev(struct device *dev)
{
	struct pci_dev *pci_dev;
	pci_dev = to_pci_dev(dev);
	pci_release_capabilities(pci_dev);
	kfree(pci_dev);
}