summaryrefslogtreecommitdiff
path: root/include/linux/mei_cl_bus.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-03-27 17:29:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-29 08:35:47 -0700
commit333e4ee0781bd0b5938da263c4bb7ab66a0d1b57 (patch)
treec03dc8a9304a4e56faf03bdee04df4cbd5f0c76a /include/linux/mei_cl_bus.h
parente5354107e14755991da82e0d2a4791db92908d9d (diff)
mei: bus: Implement driver registration
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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mei_cl_bus.h b/include/linux/mei_cl_bus.h
index 4e7351de7eca..ba2aa3b66f30 100644
--- a/include/linux/mei_cl_bus.h
+++ b/include/linux/mei_cl_bus.h
@@ -17,4 +17,11 @@ struct mei_cl_driver {
int (*remove)(struct mei_cl_device *dev);
};
+int __mei_cl_driver_register(struct mei_cl_driver *driver,
+ struct module *owner);
+#define mei_cl_driver_register(driver) \
+ __mei_cl_driver_register(driver, THIS_MODULE)
+
+void mei_cl_driver_unregister(struct mei_cl_driver *driver);
+
#endif /* _LINUX_MEI_CL_BUS_H */