Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3138861ybd; Fri, 28 Jun 2019 03:34:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqys9WmuZ9DqKQWfYsVOtC/UTyEMdFChS1W4yNYulAe1bHungd9a5QG7TbtcsFhNXhXD4Vpz X-Received: by 2002:a17:90a:a116:: with SMTP id s22mr12123693pjp.47.1561718050721; Fri, 28 Jun 2019 03:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561718050; cv=none; d=google.com; s=arc-20160816; b=XkFCR1fQwbkI35Ua6FFiIhJw5ZQ+cr55s8f08u4wNPUN2llHYk2TKZBKOEUyCENDGe bnzdykiVZDc9OTl+w++nG9AC3IellfjKt4pk3yupTTPAd68LSbe9cxAtkLbYCvh/NE1k 4EHim4K7FRK5X7x49iVaFvxQIU3bMAzUK2qVlObOh/Q5ii3bzo3nxfjUkaphM4XACWsL mpuTPpoRKiNoB150a0gS0HrrsA4fLbVokSYzNWk0IGD5YCg+UQNgAZhxlJEE/X40uNr9 CoKsJ9wQSrTDfd/1gjSTDmr8VVVwo/rMXydzesOJU+hyfSYpxTLXI66j6qJAZYKtKfbx hjKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wObkkRCbayT2MILOhmM/tPSkqhNw/vc60Nw/XvfdfGY=; b=NqrE2aKu7cliVIzMw02nfAHhWY/HPnCpehULO7I7Diut43H8FoLZXtdq5RYskFnT9z P4sMz+QwLuS+FP0n5rnGU/Kwb+ayezTUYdcSN1p9AGKRJzbRlYlf1XIZrRrx+QTe5FUx 9tj/7Plo2BaRH+b0ls1HSRWnpcJvZr3zdCNgrLn8hQLvoZCG8qM0s0ANDj4SLQA+RHZq IyzZod1sWFvvDRc9NEhcbaOcGXf7Uxvc/6k47Nzl1oIZLqEewDDW3/vGxVlhrqmYU55H aKZEenb+tzNe+lIzbQ4bCBSqGfzV+y3e4xG6WGEuxPzm0+i9YIoOd2jkwl9jnH8xQCm4 4Blg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si1628492pgv.390.2019.06.28.03.33.54; Fri, 28 Jun 2019 03:34:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726788AbfF1Kcl (ORCPT + 99 others); Fri, 28 Jun 2019 06:32:41 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:40313 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726484AbfF1Kck (ORCPT ); Fri, 28 Jun 2019 06:32:40 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1N1g3U-1iiM2L2LVY-0122IQ; Fri, 28 Jun 2019 12:32:33 +0200 From: Arnd Bergmann To: MyungJoo Ham , Kyungmin Park Cc: Arnd Bergmann , Chanwoo Choi , Dmitry Osipenko , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] devfreq: tegra20: add COMMON_CLK dependency Date: Fri, 28 Jun 2019 12:32:20 +0200 Message-Id: <20190628103232.2467959-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:xhFrlLf9WRsFZys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ger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Compile-testing the new driver on platforms without CONFIG_COMMON_CLK leads to a link error: drivers/devfreq/tegra20-devfreq.o: In function `tegra_devfreq_target': tegra20-devfreq.c:(.text+0x288): undefined reference to `clk_set_min_rate' Add a dependency on COMMON_CLK to avoid this. Fixes: 1d39ee8dad6d ("PM / devfreq: Introduce driver for NVIDIA Tegra20") Signed-off-by: Arnd Bergmann --- drivers/devfreq/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index f3b242987fd9..defe1d438710 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -107,6 +107,7 @@ config ARM_TEGRA_DEVFREQ config ARM_TEGRA20_DEVFREQ tristate "NVIDIA Tegra20 DEVFREQ Driver" depends on (TEGRA_MC && TEGRA20_EMC) || COMPILE_TEST + depends on COMMON_CLK select DEVFREQ_GOV_SIMPLE_ONDEMAND select PM_OPP help -- 2.20.0