]> git.baikalelectronics.ru Git - kernel.git/commit
staging: exfat: stopusing CONFIG_FAT_DEFAULT_IOCHARSET
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Sep 2019 15:09:04 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Sep 2019 16:20:21 +0000 (18:20 +0200)
commitf4e17f926fa453ed9d47f6ffde0b33cd8b5e5aa3
tree69049e2acd3dad591d7344450289fc12c89e6ecc
parent5e9fbe968f3548513903f85d53364a1247ab1c3b
staging: exfat: stopusing CONFIG_FAT_DEFAULT_IOCHARSET

When CONFIG_VFAT_FS is disabled, the reference to CONFIG_FAT_DEFAULT_IOCHARSET
causes a link failure:

drivers/staging/exfat/exfat_super.c:46:41: error: use of undeclared identifier 'CONFIG_FAT_DEFAULT_IOCHARSET'
static char exfat_default_iocharset[] = CONFIG_FAT_DEFAULT_IOCHARSET;

I could not figure out why the correct code is commented
out, but using that fixes the problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190906150917.1025250-1-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_super.c