9
0
Fork 0

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:
Sascha Hauer 2014-07-10 08:53:21 +02:00
parent 95dc09059f
commit 36d837d791
1 changed files with 3 additions and 0 deletions

View File

@ -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;