drv->driver.shutdown = pci_device_shutdown, 
/* 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, 
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;	drv->driver.shutdown = pci_device_shutdown,	drv->driver.owner = drv->owner;	drv->driver.kobj.ktype = &pci_driver_kobj_type;	pci_init_dynids(&drv->dynids);	/* register with core */	error = driver_register(&drv->driver);	if (!error)		pci_populate_driver_dir(drv);	return error;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/794f5bfa77955c4455f6d72d8b0e2bee25f1ff0c/pci-driver.c/buggy/drivers/pci/pci-driver.c