Thread (8 messages) 8 messages, 5 authors, 2021-11-06

RE: [PATCH] scsi: ufs: Kconfig: SCSI_UFS_HWMON depens on HWMON=y

From: Avri Altman <Avri.Altman@wdc.com>
Date: 2021-09-24 19:00:00
Also in: linux-scsi, lkml

quoted
Since fragment 'SCSI_UFS_HWMON' can't be build as a module,
'SCSI_UFS_HWMON' has to depend on 'HWMON=y'.

Fixes: e88e2d32200a ("scsi: ufs: core: Probe for temperature
notification support")
Signed-off-by: Anders Roxell <redacted>
---
  drivers/scsi/ufs/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig index
565e8aa6319d..30c6edb53be9 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -202,7 +202,7 @@ config SCSI_UFS_FAULT_INJECTION

  config SCSI_UFS_HWMON
      bool "UFS  Temperature Notification"
-     depends on SCSI_UFSHCD && HWMON
+     depends on SCSI_UFSHCD && HWMON=y
      help
        This provides support for UFS hardware monitoring. If enabled,
        a hardware monitoring device will be created for the UFS device.
Also-Reported-by: Randy Dunlap [off-list ref]
Acked-by: Randy Dunlap <redacted> # build-tested
Acked-by: Avri Altman <avri.altman@wdc.com>

Thanks for fixing this.
Avri
Thanks.

--
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help