From: Greg Kroah-Hartman Date: Mon, 22 Sep 2014 01:17:36 +0000 (-0700) Subject: greybus: core.c: create empty functions to keep linking working for hotplug/remove X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~2097 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=6779997d78bf4c98857c397ed3d1dfede8949835;p=cascardo%2Flinux.git greybus: core.c: create empty functions to keep linking working for hotplug/remove --- diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index a13cf9f05059..9a232a0a9227 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -346,6 +346,11 @@ static int create_cport(struct greybus_device *gdev, * Pass in a buffer that _should_ contain a Greybus module manifest * and spit out a greybus device structure. */ +void gb_add_module(struct greybus_host_device *hd, u8 module_id, u8 *data) +{ + // FIXME - should be the new module call... +} + struct greybus_device *greybus_new_module(struct device *parent, int module_number, u8 *data, int size) { @@ -466,6 +471,11 @@ error: return NULL; } +void gb_remove_module(struct greybus_host_device *hd, u8 module_id) +{ + // FIXME should be the remove_device call... +} + void greybus_remove_device(struct greybus_device *gdev) { /* tear down all of the "sub device types" for this device */