···327327 * @pdev: platform device we're unregistering328328 *329329 * Unregistration is done in 2 steps. Fisrt we release all resources330330- * and remove it from the sybsystem, then we drop reference count by330330+ * and remove it from the subsystem, then we drop reference count by331331 * calling platform_device_put().332332 */333333void platform_device_unregister(struct platform_device * pdev)
···380380 /* initialize common driver fields */381381 drv->driver.name = drv->name;382382 drv->driver.bus = &pci_bus_type;383383- drv->driver.probe = pci_device_probe;384384- drv->driver.remove = pci_device_remove;385383 /* FIXME, once all of the existing PCI drivers have been fixed to set386384 * the pci shutdown function, this test can go away. */387385 if (!drv->driver.shutdown)···511513 .name = "pci",512514 .match = pci_bus_match,513515 .uevent = pci_uevent,516516+ .probe = pci_device_probe,517517+ .remove = pci_device_remove,514518 .suspend = pci_device_suspend,515519 .resume = pci_device_resume,516520 .dev_attrs = pci_dev_attrs,
···115115 * Currently, we only care about I/O subchannels (type 0), these116116 * have a ccw_device connected to them.117117 */118118+struct subchannel;118119struct css_driver {119120 unsigned int subchannel_type;120121 struct device_driver drv;···123122 int (*notify)(struct device *, int);124123 void (*verify)(struct device *);125124 void (*termination)(struct device *);125125+ int (*probe)(struct subchannel *);126126+ int (*remove)(struct subchannel *);127127+ void (*shutdown)(struct subchannel *);126128};127129128130/*