1. NAME

usb_function_activate - allow function and gadget enumeration

2. SYNOPSIS

int usb_function_activate(struct usb_function *  function );

3. ARGUMENTS

function
    function on which usb_function_activate was called

4. DESCRIPTION

Reverses effect of usb_function_deactivate. If no more functions are delaying their activation, the gadget driver will respond to host enumeration procedures.

Returns zero on success, else negative errno.

5. AUTHOR

David Brownell <>
    Author.

6. COPYRIGHT