summaryrefslogtreecommitdiffstats
path: root/include/linux/bitrev.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-06-05 22:46:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-06 11:29:10 -0700
commit3527fb326f07bc8e85cf66d4f987ebeea24e8e4a (patch)
treec0f0389b67f15778808a72fe8b197a4d8c250030 /include/linux/bitrev.h
parentf2eb432715a81a703e626df59347ba3557009557 (diff)
downloadlinux-stable-3527fb326f07bc8e85cf66d4f987ebeea24e8e4a.tar.gz
linux-stable-3527fb326f07bc8e85cf66d4f987ebeea24e8e4a.tar.bz2
linux-stable-3527fb326f07bc8e85cf66d4f987ebeea24e8e4a.zip
lib: export bitrev16
Bluetooth will be able to use this. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Marcel Holtmann <marcel@holtmann.org> Cc: Dave Young <hidave.darkstar@gmail.com> Cc: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/bitrev.h')
-rw-r--r--include/linux/bitrev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bitrev.h b/include/linux/bitrev.h
index 05e540d6963a..7ffe03f4693d 100644
--- a/include/linux/bitrev.h
+++ b/include/linux/bitrev.h
@@ -10,6 +10,7 @@ static inline u8 bitrev8(u8 byte)
return byte_rev_table[byte];
}
+extern u16 bitrev16(u16 in);
extern u32 bitrev32(u32 in);
#endif /* _LINUX_BITREV_H */