summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-09-22 03:17:12 +0200
committerGreg Kroah-Hartman2014-09-22 03:17:12 +0200
commit85e0066c597c5fd9bc278eac79065251aa507c65 (patch)
tree1828ca207610ec964d574f1e5206cd12c6cddf01 /drivers/staging/greybus/greybus.h
parentgreybus: svc_msg.h: add data for hotplug message (diff)
downloadkernel-qcow2-linux-85e0066c597c5fd9bc278eac79065251aa507c65.tar.gz
kernel-qcow2-linux-85e0066c597c5fd9bc278eac79065251aa507c65.tar.xz
kernel-qcow2-linux-85e0066c597c5fd9bc278eac79065251aa507c65.zip
greybus: greybus.h: add function prototype for add/remove a module
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 9802ccec79ea..f804b198254d 100644
--- a/drivers/staging/greybus/greybus.h
+++ b/drivers/staging/greybus/greybus.h
@@ -288,6 +288,9 @@ const u8 *greybus_string(struct greybus_device *gdev, int id);
/* Internal functions to gb module, move to internal .h file eventually. */
+void gb_add_module(struct greybus_host_device *hd, u8 module_id, u8 *data);
+void gb_remove_module(struct greybus_host_device *hd, u8 module_id);
+
int gb_new_ap_msg(u8 *data, int length, struct greybus_host_device *hd);
int gb_ap_init(void);
void gb_ap_exit(void);