]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - include/linux/types.h
usb: composite: Move bitmap related operations to ./include/linux/bitmap.h
[thirdparty/u-boot.git] / include / linux / types.h
index 1f3cd63b8f2265545b8d6bd245b957741b3fb8fa..cc6f7cb39ee71b1889117057ade433895396242c 100644 (file)
@@ -158,4 +158,7 @@ struct ustat {
        char                    f_fpack[6];
 };
 
+#define DECLARE_BITMAP(name, bits) \
+       unsigned long name[BITS_TO_LONGS(bits)]
+
 #endif /* _LINUX_TYPES_H */