Move utf16 functions to kernel core and rename
We want to be able to use the utf16 functions that are currently present in the EFI variables code in platform-specific code as well. Move them to the kernel core, and in the process rename them to accurately describe what they do - they don't handle UTF16, only UCS2. Signed-off-by:Matthew Garrett <matthew.garrett@nebula.com> Signed-off-by:
Matt Fleming <matt.fleming@intel.com>
Showing
- drivers/firmware/Kconfig 1 addition, 0 deletionsdrivers/firmware/Kconfig
- drivers/firmware/efivars.c 18 additions, 62 deletionsdrivers/firmware/efivars.c
- include/linux/ucs2_string.h 14 additions, 0 deletionsinclude/linux/ucs2_string.h
- lib/Kconfig 3 additions, 0 deletionslib/Kconfig
- lib/Makefile 2 additions, 0 deletionslib/Makefile
- lib/ucs2_string.c 51 additions, 0 deletionslib/ucs2_string.c
Loading
Please register or sign in to comment