summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-09-13 20:09:35 +0200
committerGreg Kroah-Hartman2014-09-13 20:09:35 +0200
commit9c8d3afdb58cf96a0e784e2e0a62923fe8855e4d (patch)
tree9221998ee8a10d44a45314011221c461c90e583d /drivers/staging/greybus/greybus.h
parentgreybus: es1: allocate cport out urbs properly (diff)
downloadkernel-qcow2-linux-9c8d3afdb58cf96a0e784e2e0a62923fe8855e4d.tar.gz
kernel-qcow2-linux-9c8d3afdb58cf96a0e784e2e0a62923fe8855e4d.tar.xz
kernel-qcow2-linux-9c8d3afdb58cf96a0e784e2e0a62923fe8855e4d.zip
greybus: es1: handle cport data in and out
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
-rw-r--r--drivers/staging/greybus/greybus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h
index 573274b6267d..1badfa8cfd36 100644
--- a/drivers/staging/greybus/greybus.h
+++ b/drivers/staging/greybus/greybus.h
@@ -126,6 +126,9 @@ struct greybus_host_device {
struct greybus_host_device *greybus_create_hd(struct greybus_host_driver *host_driver,
struct device *parent);
void greybus_remove_hd(struct greybus_host_device *hd);
+void greybus_cport_in_data(struct greybus_host_device *hd, int cport, u8 *data,
+ size_t length);
+void greybus_gbuf_finished(struct gbuf *gbuf);
/* Increase these values if needed */