summaryrefslogtreecommitdiffstats
path: root/include/linux/mei_cl_bus.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-03-27 17:29:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-29 08:45:59 -0700
commitaa6aef216f8aea1a00b56aafc29b8745237a9b62 (patch)
tree3f237c64519756a25b17686c6eca59d2b5fcf565 /include/linux/mei_cl_bus.h
parent44d88d919261256e3bd999cde05572c8c4afb642 (diff)
downloadtalos-op-linux-aa6aef216f8aea1a00b56aafc29b8745237a9b62.tar.gz
talos-op-linux-aa6aef216f8aea1a00b56aafc29b8745237a9b62.zip
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>
Diffstat (limited to 'include/linux/mei_cl_bus.h')
-rw-r--r--include/linux/mei_cl_bus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mei_cl_bus.h b/include/linux/mei_cl_bus.h
index d9958c3960a2..1bece18825ba 100644
--- a/include/linux/mei_cl_bus.h
+++ b/include/linux/mei_cl_bus.h
@@ -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 */
OpenPOWER on IntegriCloud