From: Josh Boyer Date: Tue, 14 Oct 2014 15:04:48 +0000 (+0200) Subject: s390/hmcdrv: Restrict s390 HMC driver to S390 arch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c9eeb7b813c9525cda34b61dcf4455c52fc58890;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git s390/hmcdrv: Restrict s390 HMC driver to S390 arch This driver is only usable on 64-bit s390 machines. Mark the Kconfig dependencies to that users on other architectures are not prompted for it. Fixes: 8f933b1043e1e5 ("s390/hmcdrv: HMC drive CD/DVD access") Signed-off-by: Josh Boyer Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/Kconfig b/drivers/s390/char/Kconfig index dc24ecfac2d1..db2cb1f8a1b5 100644 --- a/drivers/s390/char/Kconfig +++ b/drivers/s390/char/Kconfig @@ -105,7 +105,7 @@ config SCLP_ASYNC config HMC_DRV def_tristate m prompt "Support for file transfers from HMC drive CD/DVD-ROM" - depends on 64BIT + depends on S390 && 64BIT select CRC16 help This option enables support for file transfers from a Hardware