]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
greybus: greybus.h: add function prototype for add/remove a module
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 22 Sep 2014 01:17:12 +0000 (18:17 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 22 Sep 2014 01:17:12 +0000 (18:17 -0700)
drivers/staging/greybus/greybus.h

index 9802ccec79ea6a38939ade772463ee1246fca367..f804b198254d052370a20338fc4f08b29582d4d7 100644 (file)
@@ -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);