092a4bd069
Add a method to unregister the gadget using its config_item. There can be functions (e.g. mass storage), which in some circumstances need the gadget stopped. Add a method of stopping the gadget. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
7 lines
162 B
C
7 lines
162 B
C
#ifndef USB__GADGET__CONFIGFS__H
|
|
#define USB__GADGET__CONFIGFS__H
|
|
|
|
void unregister_gadget_item(struct config_item *item);
|
|
|
|
#endif /* USB__GADGET__CONFIGFS__H */
|