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)
commit26cf7660919e4f0b2cf26d0ea6c95f58cbbd7ec7
tree69049e2acd3dad591d7344450289fc12c89e6ecc
parentf6897deef4fc94812338bcf33c9f03854cc19cdb
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