aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
2#include <linux/module.h> 2#include <linux/module.h>
3#include <linux/bitrev.h> 3#include <linux/bitrev.h>
4 4
5MODULE_AUTHOR("Akinobu Mita <akinobu.mita@gmail.com>");
6MODULE_DESCRIPTION("Bit ordering reversal functions");
7MODULE_LICENSE("GPL");
8
5const u8 byte_rev_table[256] = { 9const u8 byte_rev_table[256] = {
6 0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0, 10 0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
7 0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0, 11 0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,