summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-03-17 13:29:52 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-03-18 15:35:23 -0400
commitc80fa12e6d4ab07b6aff9be1b3be7df265b9497b (patch)
treea42c8352889de8795d9beee1cc4d0951663f3139 /drivers/scsi
parentef3fb2422ffe92ead0579c21a02095b329434900 (diff)
downloadlinux-stable-c80fa12e6d4ab07b6aff9be1b3be7df265b9497b.tar.gz
linux-stable-c80fa12e6d4ab07b6aff9be1b3be7df265b9497b.tar.bz2
linux-stable-c80fa12e6d4ab07b6aff9be1b3be7df265b9497b.zip
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ufs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index 5f4530744e0a..097894a1fab5 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -37,6 +37,7 @@ config SCSI_UFSHCD
depends on SCSI && SCSI_DMA
select PM_DEVFREQ
select DEVFREQ_GOV_SIMPLE_ONDEMAND
+ select NLS
---help---
This selects the support for UFS devices in Linux, say Y and make
sure that you know the name of your UFS host adapter (the card