summaryrefslogtreecommitdiffstats
path: root/lib/bitrev.c
diff options
context:
space:
mode:
authorCal Peake <cp@absolutedigital.net>2006-12-10 12:22:05 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-10 19:07:52 +0100
commit0258736a0a2cde8ab30725b601aeca4cf8bc93ab (patch)
tree1d09118c76b838b2881e619ab0bf0392291be303 /lib/bitrev.c
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 (diff)
downloadlinux-0258736a0a2cde8ab30725b601aeca4cf8bc93ab.tar.xz
linux-0258736a0a2cde8ab30725b601aeca4cf8bc93ab.zip
[PATCH] add MODULE_* attributes to bit reversal library
Add MODULE_* attributes to the new bit reversal library. Most notably MODULE_LICENSE which prevents superfluous kernel tainting. Signed-off-by: Cal Peake <cp@absolutedigital.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/bitrev.c')
-rw-r--r--lib/bitrev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bitrev.c b/lib/bitrev.c
index f4e1c49c825a..989aff73f881 100644
--- a/lib/bitrev.c
+++ b/lib/bitrev.c
@@ -2,6 +2,10 @@
#include <linux/module.h>
#include <linux/bitrev.h>
+MODULE_AUTHOR("Akinobu Mita <akinobu.mita@gmail.com>");
+MODULE_DESCRIPTION("Bit ordering reversal functions");
+MODULE_LICENSE("GPL");
+
const u8 byte_rev_table[256] = {
0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,