/* This adds a single pci device to the global device list and adds sysfs and procfs entries  */
int pci_bus_add_device(struct pci_dev *dev)
/* This adds a single pci device to the global device list and adds sysfs and procfs entries  */
int pci_bus_add_device(struct pci_dev *dev)
{
	int retval;
	retval = device_add(&dev->dev);
	if (retval)
		return retval;
	dev->is_added = 1;
	pci_proc_attach_device(dev);
	pci_create_sysfs_dev_files(dev);
	return 0;
}