|
@@ -63,7 +63,6 @@ struct subchannel;
|
|
struct chp_link;
|
|
struct chp_link;
|
|
/**
|
|
/**
|
|
* struct css_driver - device driver for subchannels
|
|
* struct css_driver - device driver for subchannels
|
|
- * @owner: owning module
|
|
|
|
* @subchannel_type: subchannel type supported by this driver
|
|
* @subchannel_type: subchannel type supported by this driver
|
|
* @drv: embedded device driver structure
|
|
* @drv: embedded device driver structure
|
|
* @irq: called on interrupts
|
|
* @irq: called on interrupts
|
|
@@ -78,10 +77,8 @@ struct chp_link;
|
|
* @thaw: undo work done in @freeze
|
|
* @thaw: undo work done in @freeze
|
|
* @restore: callback for restoring after hibernation
|
|
* @restore: callback for restoring after hibernation
|
|
* @settle: wait for asynchronous work to finish
|
|
* @settle: wait for asynchronous work to finish
|
|
- * @name: name of the device driver
|
|
|
|
*/
|
|
*/
|
|
struct css_driver {
|
|
struct css_driver {
|
|
- struct module *owner;
|
|
|
|
struct css_device_id *subchannel_type;
|
|
struct css_device_id *subchannel_type;
|
|
struct device_driver drv;
|
|
struct device_driver drv;
|
|
void (*irq)(struct subchannel *);
|
|
void (*irq)(struct subchannel *);
|
|
@@ -96,7 +93,6 @@ struct css_driver {
|
|
int (*thaw) (struct subchannel *);
|
|
int (*thaw) (struct subchannel *);
|
|
int (*restore)(struct subchannel *);
|
|
int (*restore)(struct subchannel *);
|
|
int (*settle)(void);
|
|
int (*settle)(void);
|
|
- const char *name;
|
|
|
|
};
|
|
};
|
|
|
|
|
|
#define to_cssdriver(n) container_of(n, struct css_driver, drv)
|
|
#define to_cssdriver(n) container_of(n, struct css_driver, drv)
|