aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2015-05-07 08:54:05 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 14:15:54 -0400
commitd4b78c7290dd0aa41596ad527877a6d70bf64110 (patch)
treea7684542e70c535dc5cef1ccf717b843c5c6bb66
parentbe9b720a0ccba096d669bc86634f900b82b9bf71 (diff)
mei: bus: kill mei_cl_ops
since we move all nfc hanling to the mei_phy module we can kill mei_cl_ops 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>
-rw-r--r--drivers/misc/mei/mei_dev.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 2175bff2730f..609a2d2c2dba 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -328,27 +328,6 @@ struct mei_hw_ops {
328 328
329/* MEI bus API*/ 329/* MEI bus API*/
330 330
331/**
332 * struct mei_cl_ops - MEI CL device ops
333 * This structure allows ME host clients to implement technology
334 * specific operations.
335 *
336 * @enable: Enable an MEI CL device. Some devices require specific
337 * HECI commands to initialize completely.
338 * @disable: Disable an MEI CL device.
339 * @send: Tx hook for the device. This allows ME host clients to trap
340 * the device driver buffers before actually physically
341 * pushing it to the ME.
342 * @recv: Rx hook for the device. This allows ME host clients to trap the
343 * ME buffers before forwarding them to the device driver.
344 */
345struct mei_cl_ops {
346 int (*enable)(struct mei_cl_device *device);
347 int (*disable)(struct mei_cl_device *device);
348 int (*send)(struct mei_cl_device *device, u8 *buf, size_t length);
349 int (*recv)(struct mei_cl_device *device, u8 *buf, size_t length);
350};
351
352struct mei_cl_device *mei_cl_add_device(struct mei_device *dev, 331struct mei_cl_device *mei_cl_add_device(struct mei_device *dev,
353 struct mei_me_client *me_cl, 332 struct mei_me_client *me_cl,
354 struct mei_cl *cl, 333 struct mei_cl *cl,
@@ -376,7 +355,6 @@ struct mei_cl *mei_cl_bus_find_cl_by_uuid(struct mei_device *dev, uuid_le uuid);
376 * @me_cl: me client 355 * @me_cl: me client
377 * @cl: mei client 356 * @cl: mei client
378 * @name: device name 357 * @name: device name
379 * @ops: ME transport ops
380 * @event_work: async work to execute event callback 358 * @event_work: async work to execute event callback
381 * @event_cb: Drivers register this callback to get asynchronous ME 359 * @event_cb: Drivers register this callback to get asynchronous ME
382 * events (e.g. Rx buffer pending) notifications. 360 * events (e.g. Rx buffer pending) notifications.
@@ -391,8 +369,6 @@ struct mei_cl_device {
391 struct mei_cl *cl; 369 struct mei_cl *cl;
392 char name[MEI_CL_NAME_SIZE]; 370 char name[MEI_CL_NAME_SIZE];
393 371
394 const struct mei_cl_ops *ops;
395
396 struct work_struct event_work; 372 struct work_struct event_work;
397 mei_cl_event_cb_t event_cb; 373 mei_cl_event_cb_t event_cb;
398 void *event_context; 374 void *event_context;