Provided by: linux-doc-2.6.15_2.6.15-23.39_all
usb_gadget_clear_selfpowered - clear the device selfpowered feature.
int usb_gadget_clear_selfpowered (struct usb_gadget * gadget);
gadget the device being declared as bus-powered
this affects the device status reported by the hardware driver. some
hardware may not support bus-powered operation, in which case this
feature’s value can never change.
returns zero on success, else negative errno.
David Brownell <email@example.com>.