]> 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)
commit41b90f7ba4edbf4147143390a56ddf849abc246f
tree69049e2acd3dad591d7344450289fc12c89e6ecc
parent8b0fe3cd7f0e21d72f32cc966b65b2d250c62838
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