diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2015-05-07 08:54:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 14:15:54 -0400 |
commit | dbac993f6a6df24d5edc362667e524ba43543472 (patch) | |
tree | 1cf5e4d98b428871410658ca9d31718afc77a262 /drivers/misc | |
parent | 1d3ff76721fbb04e69abe8abbae1a77ed02bd36f (diff) |
mei: export mei client device struct to external use
Cc: 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')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 609a2d2c2dba..70a644f688b0 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h | |||
@@ -343,41 +343,6 @@ int mei_cl_bus_init(void); | |||
343 | void mei_cl_bus_exit(void); | 343 | void mei_cl_bus_exit(void); |
344 | struct mei_cl *mei_cl_bus_find_cl_by_uuid(struct mei_device *dev, uuid_le uuid); | 344 | struct mei_cl *mei_cl_bus_find_cl_by_uuid(struct mei_device *dev, uuid_le uuid); |
345 | 345 | ||
346 | |||
347 | /** | ||
348 | * struct mei_cl_device - MEI device handle | ||
349 | * An mei_cl_device pointer is returned from mei_add_device() | ||
350 | * and links MEI bus clients to their actual ME host client pointer. | ||
351 | * Drivers for MEI devices will get an mei_cl_device pointer | ||
352 | * when being probed and shall use it for doing ME bus I/O. | ||
353 | * | ||
354 | * @dev: linux driver model device pointer | ||
355 | * @me_cl: me client | ||
356 | * @cl: mei client | ||
357 | * @name: device name | ||
358 | * @event_work: async work to execute event callback | ||
359 | * @event_cb: Drivers register this callback to get asynchronous ME | ||
360 | * events (e.g. Rx buffer pending) notifications. | ||
361 | * @event_context: event callback run context | ||
362 | * @events: Events bitmask sent to the driver. | ||
363 | * @priv_data: client private data | ||
364 | */ | ||
365 | struct mei_cl_device { | ||
366 | struct device dev; | ||
367 | |||
368 | struct mei_me_client *me_cl; | ||
369 | struct mei_cl *cl; | ||
370 | char name[MEI_CL_NAME_SIZE]; | ||
371 | |||
372 | struct work_struct event_work; | ||
373 | mei_cl_event_cb_t event_cb; | ||
374 | void *event_context; | ||
375 | unsigned long events; | ||
376 | |||
377 | void *priv_data; | ||
378 | }; | ||
379 | |||
380 | |||
381 | /** | 346 | /** |
382 | * enum mei_pg_event - power gating transition events | 347 | * enum mei_pg_event - power gating transition events |
383 | * | 348 | * |