[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200723140136.18367-1-trix@redhat.com>
Date: Thu, 23 Jul 2020 07:01:36 -0700
From: trix@...hat.com
To: jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Tom Rix <trix@...hat.com>
Subject: [PATCH] scsi: lpfc: add depends CPU_FREQ to SCSI_LPFC configury
From: Tom Rix <trix@...hat.com>
A compile error
drivers/scsi/lpfc/lpfc_sli.c:7329:26: error: implicit
declaration of function ‘get_cpu_idle_time’; did you
mean ‘set_cpu_active’? [-Werror=implicit-function-declaration]
idle_stat->prev_idle = get_cpu_idle_time(i, &wall, 1);
lpfc_init_idle_stat_hb depends on CPU_FREQ
So add depends CPU_FREQ to the configury.
Signed-off-by: Tom Rix <trix@...hat.com>
---
drivers/scsi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 571473a58f98..004dcda07d49 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -1157,6 +1157,7 @@ config SCSI_LPFC
depends on SCSI_FC_ATTRS
depends on NVME_TARGET_FC || NVME_TARGET_FC=n
depends on NVME_FC || NVME_FC=n
+ depends on CPU_FREQ
select CRC_T10DIF
help
This lpfc driver supports the Emulex LightPulse
--
2.18.1
Powered by blists - more mailing lists