mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
lib: introduce upper case hex ascii helpers
To be able to use the hex ascii functions in case sensitive environments the array hex_asc_upper[] and the needed functions for hex_byte_pack_upper() are introduced. Signed-off-by: Andre Naujoks <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
cc9fa74e2a
commit
c26d436cbf
2 changed files with 13 additions and 0 deletions
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
const char hex_asc[] = "0123456789abcdef";
|
||||
EXPORT_SYMBOL(hex_asc);
|
||||
const char hex_asc_upper[] = "0123456789ABCDEF";
|
||||
EXPORT_SYMBOL(hex_asc_upper);
|
||||
|
||||
/**
|
||||
* hex_to_bin - convert a hex digit to its real value
|
||||
|
|
|
|||
Loading…
Reference in a new issue