/* * This header declares the utility functions used by "Gadget Zero", plus * interfaces to its two single-configuration function drivers. */#ifndef __G_ZERO_H#define __G_ZERO_H#include <linux/usb/composite.h>/* global state */externconststructusb_descriptor_header*otg_desc[];/* common utilities */structusb_request*alloc_ep_req(structusb_ep*ep);voidfree_ep_req(structusb_ep*ep,structusb_request*req);voiddisable_endpoints(structusb_composite_dev*cdev,structusb_ep*in,structusb_ep*out);/* configuration-specific linkup */intsourcesink_add(structusb_composite_dev*cdev);#endif /* __G_ZERO_H */