USB_GADGET_CLEAR_SELFPOWERED

Section: (9)
Updated: 13 April 2004
Index Return to Main Contents

 

NAME

usb_gadget_clear_selfpowered - clear the device selfpowered feature.  

SYNOPSIS

int usb_gadget_clear_selfpowered (struct usb_gadget * gadget);  

ARGUMENTS

gadget
the device being declared as bus-powered
 

DESCRIPTION

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.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.1.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 11:22:04 GMT, April 13, 2004