diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-27 19:29:57 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-29 19:45:59 +0400 |
commit | cf3baefba04073237decb1b8a8c114b0b45bfc80 (patch) | |
tree | 735e86d98f20c7fb58b7480565837eabc02d7f7c /drivers/misc/mei/main.c | |
parent | a7b71bc043aded9da4cf51f85271e0779161fe22 (diff) | |
download | linux-cf3baefba04073237decb1b8a8c114b0b45bfc80.tar.xz |
mei: bus: Call bus routines from the core code
Register the MEI bus type against the kernel core bus APIs and
call the bus Rx handler from interrupt.c
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 'drivers/misc/mei/main.c')
-rw-r--r-- | drivers/misc/mei/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 27b3df2ba070..872de9d1494b 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -767,6 +767,19 @@ void mei_deregister(void) } EXPORT_SYMBOL_GPL(mei_deregister); +static int __init mei_init(void) +{ + return mei_cl_bus_init(); +} + +static void __exit mei_exit(void) +{ + mei_cl_bus_exit(); +} + +module_init(mei_init); +module_exit(mei_exit); + MODULE_AUTHOR("Intel Corporation"); MODULE_DESCRIPTION("Intel(R) Management Engine Interface"); MODULE_LICENSE("GPL v2"); |