···327 * @pdev: platform device we're unregistering328 *329 * Unregistration is done in 2 steps. Fisrt we release all resources330- * and remove it from the sybsystem, then we drop reference count by331 * calling platform_device_put().332 */333void platform_device_unregister(struct platform_device * pdev)
···327 * @pdev: platform device we're unregistering328 *329 * Unregistration is done in 2 steps. Fisrt we release all resources330+ * and remove it from the subsystem, then we drop reference count by331 * calling platform_device_put().332 */333void platform_device_unregister(struct platform_device * pdev)
···380 /* initialize common driver fields */381 drv->driver.name = drv->name;382 drv->driver.bus = &pci_bus_type;383- drv->driver.probe = pci_device_probe;384- drv->driver.remove = pci_device_remove;385 /* FIXME, once all of the existing PCI drivers have been fixed to set386 * the pci shutdown function, this test can go away. */387 if (!drv->driver.shutdown)···511 .name = "pci",512 .match = pci_bus_match,513 .uevent = pci_uevent,00514 .suspend = pci_device_suspend,515 .resume = pci_device_resume,516 .dev_attrs = pci_dev_attrs,
···380 /* initialize common driver fields */381 drv->driver.name = drv->name;382 drv->driver.bus = &pci_bus_type;00383 /* FIXME, once all of the existing PCI drivers have been fixed to set384 * the pci shutdown function, this test can go away. */385 if (!drv->driver.shutdown)···513 .name = "pci",514 .match = pci_bus_match,515 .uevent = pci_uevent,516+ .probe = pci_device_probe,517+ .remove = pci_device_remove,518 .suspend = pci_device_suspend,519 .resume = pci_device_resume,520 .dev_attrs = pci_dev_attrs,
···115 * Currently, we only care about I/O subchannels (type 0), these116 * have a ccw_device connected to them.117 */0118struct css_driver {119 unsigned int subchannel_type;120 struct device_driver drv;···123 int (*notify)(struct device *, int);124 void (*verify)(struct device *);125 void (*termination)(struct device *);000126};127128/*
···115 * Currently, we only care about I/O subchannels (type 0), these116 * have a ccw_device connected to them.117 */118+struct subchannel;119struct css_driver {120 unsigned int subchannel_type;121 struct device_driver drv;···122 int (*notify)(struct device *, int);123 void (*verify)(struct device *);124 void (*termination)(struct device *);125+ int (*probe)(struct subchannel *);126+ int (*remove)(struct subchannel *);127+ void (*shutdown)(struct subchannel *);128};129130/*