scsi: ufs: select CONFIG_NLS
authorArnd Bergmann <arnd@arndb.de>
Thu, 17 Mar 2016 12:29:52 +0000 (13:29 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Mar 2016 19:35:23 +0000 (15:35 -0400)
commitc80fa12e6d4ab07b6aff9be1b3be7df265b9497b
treea42c8352889de8795d9beee1cc4d0951663f3139
parentef3fb2422ffe92ead0579c21a02095b329434900
scsi: ufs: select CONFIG_NLS

A recent change to ufshcd introduced a call to utf16s_to_utf8s, a
function that is provided by the NLS module, so we get a link error when
that is not present:

drivers/scsi/built-in.o: In function `ufshcd_read_string_desc':
:(.text+0x124d0): undefined reference to `utf16s_to_utf8s'

This adds a Kconfig 'select' statement to avoid the build error.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: b573d484e4ff ("scsi: ufs: add support to read device and string descriptors")
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/Kconfig