From 85e0066c597c5fd9bc278eac79065251aa507c65 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 21 Sep 2014 18:17:12 -0700 Subject: [PATCH] greybus: greybus.h: add function prototype for add/remove a module --- drivers/staging/greybus/greybus.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5