xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
[linux/fpc-iii.git] / drivers / usb / gadget / configfs.h
blob36c468c4f5e90be54e7356d48dc2037476a62994
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 int usb_os_desc_prepare_interf_dir(struct config_group *parent,
9 int n_interf,
10 struct usb_os_desc **desc,
11 char **names,
12 struct module *owner);
14 static inline struct usb_os_desc *to_usb_os_desc(struct config_item *item)
16 return container_of(to_config_group(item), struct usb_os_desc, group);
19 #endif /* USB__GADGET__CONFIGFS__H */