]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/dwc3/gadget.h
usb: dwc3: gadget: re-factor Link state change to a function
[karo-tx-linux.git] / drivers / usb / dwc3 / gadget.h
index 2cf6f2989f7375975008096a25a77f11889e8248..152b6de0649d3115663361ce4b8d5fd1cc3fd6cb 100644 (file)
@@ -101,6 +101,7 @@ void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
                int status);
 
 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode);
+int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state);
 
 void dwc3_ep0_interrupt(struct dwc3 *dwc,
                const struct dwc3_event_depevt *event);