]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/bitmap.h
V4L/DVB (7620): Adding support for a new i2c bridge type
[linux-2.6-omap-h63xx.git] / include / linux / bitmap.h
index 64b4641904fee0415c169d3f20e3bd4cdba71f5c..1dbe074f1c645fed22e55484f26cdd90cc325bfb 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/types.h>
 #include <linux/bitops.h>
 #include <linux/string.h>
+#include <linux/kernel.h>
 
 /*
  * bitmaps provide bit arrays that consume one or more unsigned
@@ -107,6 +108,7 @@ extern int __bitmap_weight(const unsigned long *bitmap, int bits);
 
 extern int bitmap_scnprintf(char *buf, unsigned int len,
                        const unsigned long *src, int nbits);
+extern int bitmap_scnprintf_len(unsigned int len);
 extern int __bitmap_parse(const char *buf, unsigned int buflen, int is_user,
                        unsigned long *dst, int nbits);
 extern int bitmap_parse_user(const char __user *ubuf, unsigned int ulen,