include: Add DECLARE_BITMAP from kernel
Some code operating on bitmaps needs it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
95dc09059f
commit
36d837d791
|
@ -4,6 +4,9 @@
|
|||
#include <linux/posix_types.h>
|
||||
#include <asm/types.h>
|
||||
|
||||
#define DECLARE_BITMAP(name,bits) \
|
||||
unsigned long name[BITS_TO_LONGS(bits)]
|
||||
|
||||
#ifndef __KERNEL_STRICT_NAMES
|
||||
|
||||
typedef __u32 __kernel_dev_t;
|
||||
|
|
Loading…
Reference in New Issue