projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: composite: Move bitmap related operations to ./include/linux/bitmap.h
[oweals/u-boot.git]
/
include
/
linux
/
types.h
diff --git
a/include/linux/types.h
b/include/linux/types.h
index 1f3cd63b8f2265545b8d6bd245b957741b3fb8fa..cc6f7cb39ee71b1889117057ade433895396242c 100644
(file)
--- a/
include/linux/types.h
+++ b/
include/linux/types.h
@@
-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 */