inet: frag: enforce memory limits earlier
[linux/fpc-iii.git] / drivers / usb / gadget / configfs.h
blob540d5e92ed2259149f736f4bd60e154ccff6bb37
1 #ifndef USB__GADGET__CONFIGFS__H
2 #define USB__GADGET__CONFIGFS__H
4 #include <linux/configfs.h>
6 void unregister_gadget_item(struct config_item *item);
8 struct config_group *usb_os_desc_prepare_interf_dir(
9 struct config_group *parent,
10 int n_interf,
11 struct usb_os_desc **desc,
12 char **names,
13 struct module *owner);
15 static inline struct usb_os_desc *to_usb_os_desc(struct config_item *item)
17 return container_of(to_config_group(item), struct usb_os_desc, group);
20 #endif /* USB__GADGET__CONFIGFS__H */