Commit 85e0066c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: greybus.h: add function prototype for add/remove a module

parent 798ea88a
...@@ -288,6 +288,9 @@ const u8 *greybus_string(struct greybus_device *gdev, int id); ...@@ -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. */ /* 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_new_ap_msg(u8 *data, int length, struct greybus_host_device *hd);
int gb_ap_init(void); int gb_ap_init(void);
void gb_ap_exit(void); void gb_ap_exit(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment