else printk(KERN_WARNING "Warning: PCI driver %s has a struct " "device_driver shutdown method, please update!\n", drv->name);
int pci_register_driver(struct pci_driver *drv){	int error;	/* initialize common driver fields */	drv->driver.name = drv->name;	drv->driver.bus = &pci_bus_type;	drv->driver.probe = pci_device_probe;	drv->driver.remove = pci_device_remove;	/* FIXME, once all of the existing PCI drivers have been fixed to set	 * the pci shutdown function, this test can go away. */	if (!drv->driver.shutdown)		drv->driver.shutdown = pci_device_shutdown;	drv->driver.owner = drv->owner;	drv->driver.kobj.ktype = &pci_driver_kobj_type;	spin_lock_init(&drv->dynids.lock);	INIT_LIST_HEAD(&drv->dynids.list);	/* register with core */	error = driver_register(&drv->driver);	if (!error)		error = pci_create_newid_file(drv);	return error;}