Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp158967ybh; Tue, 21 Jul 2020 19:32:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbZFSTz0UiPUK9tWCgUp9BNAHZW317MnAKG/AJf68/lC4g0qmFEXJ8g8LD7ZxQoCkoMJQ9 X-Received: by 2002:a05:6402:1687:: with SMTP id a7mr28265813edv.358.1595385128620; Tue, 21 Jul 2020 19:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595385128; cv=none; d=google.com; s=arc-20160816; b=BUZ6gSNqXeqlNY4YRhXQLVDWOn37ycP/g7Dkk3IFSxZDwKUShfV/VFNWtSvTiUxuy0 4xe1WPsLryqFt72ShghF0620QJWoQbMxfRKjeK5Y++G24mAtIR3DAqi6RVbgrcLzdD4h 31OWt2NjrtnSdVsf0VKpNTVyT+1cBBnC84V/OA9yacFG+VfEW0Dnzz192PyuyNN0twmv A1SDalIiQNMBP6nkK+h1zSLfCnsm5VsR+xB54AIu2k9nK9Yjfe6ggvziDz0MMapfVKDd 2isZS5MwxASoUL9A/2hFoFnrJ8cHVX54SKzf+5G/Wo6O8tgsSgeK9vuwuPYCfdLjzNBb mT6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=bZoAGO9UqMb9k2aaOxBapyIOFUbeVrqhQVyeMVxo/y4=; b=o58T1ILEkSw2Dw9589ixGFNRr2bPK6blQyuXoWpH4eMQ3VD7Nnk8xoQpHGXs6r7t5z bwp5ikKDTlSAdB+HNNiW2SVZkxTqUMQllvOroNWFbq24h+61zeUNrIRc6gG6rKk3d4ls vnx/aGh4vnVpDDJptoCPcF4PKg/xLfeGE9dIp4ztqT3GbcWxYM/z+fLx9l48gl4PzAXz K0sdbzmO7zOp7H8CbJcFyVhyiGLsO/iZ9JOKxYwveDplePYS0JIfEYreYSeDUukpEZEz X/SWnnKRW0ZO1nxeY7o1nYZngZZcp6/PFVfXogZNrDl6AM7lwupf3gxRdhcOQhG5a6Fa R02A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bnQdt9AT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si13903309ejt.197.2020.07.21.19.31.46; Tue, 21 Jul 2020 19:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bnQdt9AT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731795AbgGVCab (ORCPT + 99 others); Tue, 21 Jul 2020 22:30:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731595AbgGVCaa (ORCPT ); Tue, 21 Jul 2020 22:30:30 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 458A4C061794; Tue, 21 Jul 2020 19:30:30 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id x9so234463plr.2; Tue, 21 Jul 2020 19:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=bZoAGO9UqMb9k2aaOxBapyIOFUbeVrqhQVyeMVxo/y4=; b=bnQdt9ATSyUz5zZQXojiCtoKBhvzXBgHsCIH9YPlNsXvOyQrsb9ItQrhig+MOj+jRk /aAZqNu++8a5NwgKC3uZPLBkeCvrlMX+/17F0twjfaH42ncxcMEZa0IJKYIbsRpEXPnY OmUl+j8hCP5Xvg0xExlAV4rNLiOqTj37sV2d1qIE+j7e9RxF3EbbHpFyN6aqOOSIKCSS +PPbQn8g5uWcbYebKGrxPlSx5znMhmwnSPeeDzf8bGF8gvAIiWeO2K3KIUHdmi8b1HaV /6X4MAAvN2qssDqtSRlWGx7SI9wuzvNi/WsdNlBy1K/+i1jS6WBiiBEJsx0tVtHIcBH+ hWIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=bZoAGO9UqMb9k2aaOxBapyIOFUbeVrqhQVyeMVxo/y4=; b=sBH7Pd4mskXoiz67B+5JNT4NPPpDg/8UW5R7f4vkfkKyIyR3S+0XrYelphnB+ttUV8 UnjyIEvy6Y0hwg8nIuOpu1NUUdrPubXl1wWC9C8jvTRnKbGqt/uzNf8cCfU1ZCnLPp/J PRC4RsSl5v7z42Nc9468W9PZS+HKDt0kDBspH0JbUGoCU2Qeu3hHf2Wri0LSP1iF5G9K Xi0hEvAT+cneP/f1JkfJo1JTBqtdyFxzy4ymDa23g1aibwpQVsjN4cdSQFNThhvaC/EH rtElZhf9ckouMi7/Tm6Vqu+EkNtIy1ooxGT5TcWOuXcbY29Gv6ZrAvBOaAxMy0rf2tYE jwyQ== X-Gm-Message-State: AOAM533FcUGveB9qpG6Vq2jV5q67BU/TmgvjolHpsYTsaH868yiN6qtc As4NjkfJsAdl6M4NFM4swAA= X-Received: by 2002:a17:90a:72c7:: with SMTP id l7mr8213239pjk.34.1595385029794; Tue, 21 Jul 2020 19:30:29 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id p187sm20053969pfb.22.2020.07.21.19.30.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Jul 2020 19:30:28 -0700 (PDT) From: Guenter Roeck To: "Martin K . Petersen" Cc: "James E . J . Bottomley" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Dick Kennedy , James Smart Subject: [PATCH -next] scsi: lpfc: Add dependency on CPU_FREQ Date: Tue, 21 Jul 2020 19:30:27 -0700 Message-Id: <20200722023027.36866-1-linux@roeck-us.net> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 317aeb83c92b ("scsi: lpfc: Add blk_io_poll support for latency improvment"), the lpfc driver depends on CPUFREQ. Without it, builds fail with drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_init_idle_stat_hb': drivers/scsi/lpfc/lpfc_sli.c:7329:26: error: implicit declaration of function 'get_cpu_idle_time' Add the missing dependency. Fixes: 317aeb83c92b ("scsi: lpfc: Add blk_io_poll support for latency improvment") Cc: Dick Kennedy Cc: James Smart Signed-off-by: Guenter Roeck --- drivers/scsi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 571473a58f98..701b61ec76ee 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -1154,6 +1154,7 @@ source "drivers/scsi/qedf/Kconfig" config SCSI_LPFC tristate "Emulex LightPulse Fibre Channel Support" depends on PCI && SCSI + depends on CPU_FREQ depends on SCSI_FC_ATTRS depends on NVME_TARGET_FC || NVME_TARGET_FC=n depends on NVME_FC || NVME_FC=n -- 2.17.1