Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0258736a authored by Cal Peake's avatar Cal Peake Committed by Linus Torvalds
Browse files

[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: default avatarCal Peake <cp@absolutedigital.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent edb16bec
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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,