USB_GADGET_SET_SELFPOWERED

Section: (9)
Updated: 14 August 2003
Index Return to Main Contents

 

NAME

usb_gadget_set_selfpowered - sets the device selfpowered feature.  

SYNOPSIS

int usb_gadget_set_selfpowered (struct usb_gadget * gadget);  

ARGUMENTS

gadget
the device being declared as self-powered
 

DESCRIPTION

this affects the device status reported by the hardware driver to reflect that it now has a local power supply.

returns zero on success, else negative errno.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 23:19:31 GMT, August 13, 2003