mei: bus: Implement bus driver data setter/getter
MEI drivers should be able to carry their private data around. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
44d88d9192
commit
aa6aef216f
@@ -35,4 +35,7 @@ int mei_cl_register_event_cb(struct mei_cl_device *device,
|
||||
#define MEI_CL_EVENT_RX 0
|
||||
#define MEI_CL_EVENT_TX 1
|
||||
|
||||
void *mei_cl_get_drvdata(const struct mei_cl_device *device);
|
||||
void mei_cl_set_drvdata(struct mei_cl_device *device, void *data);
|
||||
|
||||
#endif /* _LINUX_MEI_CL_BUS_H */
|
||||
|
Reference in New Issue
Block a user