diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-27 11:29:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-29 11:45:59 -0400 |
commit | cf3baefba04073237decb1b8a8c114b0b45bfc80 (patch) | |
tree | 735e86d98f20c7fb58b7480565837eabc02d7f7c /drivers/misc/mei/mei_dev.h | |
parent | a7b71bc043aded9da4cf51f85271e0779161fe22 (diff) |
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/mei_dev.h')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 0313c24a1a49..7d594bedc685 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h | |||
@@ -292,6 +292,11 @@ struct mei_cl_transport_ops { | |||
292 | int (*recv)(struct mei_cl_device *device, u8 *buf, size_t length); | 292 | int (*recv)(struct mei_cl_device *device, u8 *buf, size_t length); |
293 | }; | 293 | }; |
294 | 294 | ||
295 | void mei_cl_bus_rx_event(struct mei_cl *cl); | ||
296 | int mei_cl_bus_init(void); | ||
297 | void mei_cl_bus_exit(void); | ||
298 | |||
299 | |||
295 | /** | 300 | /** |
296 | * struct mei_cl_device - MEI device handle | 301 | * struct mei_cl_device - MEI device handle |
297 | * An mei_cl_device pointer is returned from mei_add_device() | 302 | * An mei_cl_device pointer is returned from mei_add_device() |
@@ -451,7 +456,6 @@ static inline u32 mei_data2slots(size_t length) | |||
451 | return DIV_ROUND_UP(sizeof(struct mei_msg_hdr) + length, 4); | 456 | return DIV_ROUND_UP(sizeof(struct mei_msg_hdr) + length, 4); |
452 | } | 457 | } |
453 | 458 | ||
454 | |||
455 | /* | 459 | /* |
456 | * mei init function prototypes | 460 | * mei init function prototypes |
457 | */ | 461 | */ |