diff options
author | Srinivas Pandruvada | 2019-03-18 20:14:26 +0100 |
---|---|---|
committer | Jiri Kosina | 2019-03-19 11:57:23 +0100 |
commit | 5f7224cf418511b9d3c40d35b098d15f9e4e7404 (patch) | |
tree | be098e7a2d10ee9a84bc1b0063be0cfeee021bac /drivers/hid/intel-ish-hid/ishtp/bus.h | |
parent | HID: intel-ish-hid: Add interface functions for struct ishtp_cl (diff) | |
download | kernel-qcow2-linux-5f7224cf418511b9d3c40d35b098d15f9e4e7404.tar.gz kernel-qcow2-linux-5f7224cf418511b9d3c40d35b098d15f9e4e7404.tar.xz kernel-qcow2-linux-5f7224cf418511b9d3c40d35b098d15f9e4e7404.zip |
HID: intel-ish-hid: Move functions related to bus and device
Move function idefinitions related to bus and device to common header file.
Also create new function to get fw client id and move ish_hw_reset() from
inline to exported function.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/intel-ish-hid/ishtp/bus.h')
-rw-r--r-- | drivers/hid/intel-ish-hid/ishtp/bus.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/hid/intel-ish-hid/ishtp/bus.h b/drivers/hid/intel-ish-hid/ishtp/bus.h index 4aed195719de..93d516f5a853 100644 --- a/drivers/hid/intel-ish-hid/ishtp/bus.h +++ b/drivers/hid/intel-ish-hid/ishtp/bus.h @@ -80,16 +80,5 @@ void ishtp_recv(struct ishtp_device *dev); void ishtp_reset_handler(struct ishtp_device *dev); void ishtp_reset_compl_handler(struct ishtp_device *dev); -void ishtp_put_device(struct ishtp_cl_device *); -void ishtp_get_device(struct ishtp_cl_device *); - -void ishtp_set_drvdata(struct ishtp_cl_device *cl_device, void *data); -void *ishtp_get_drvdata(struct ishtp_cl_device *cl_device); - -int ishtp_register_event_cb(struct ishtp_cl_device *device, - void (*read_cb)(struct ishtp_cl_device *)); int ishtp_fw_cl_by_uuid(struct ishtp_device *dev, const guid_t *cuuid); -struct ishtp_fw_client *ishtp_fw_cl_get_client(struct ishtp_device *dev, - const guid_t *uuid); - #endif /* _LINUX_ISHTP_CL_BUS_H */ |