From patchwork Fri Jun 28 10:32:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 168055 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3513927ilk; Fri, 28 Jun 2019 03:32:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxb2RIB/XjjpDu3fYj50KeVqCNknPrCuAXhxb8eX67xUsfAsJI0VFWVIzVGcuhGBKJAHbuE X-Received: by 2002:a17:90a:ac14:: with SMTP id o20mr12375335pjq.114.1561717961707; Fri, 28 Jun 2019 03:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561717961; cv=none; d=google.com; s=arc-20160816; b=zsONAm3bcsCzPExSTgY51B9GpD7VLhkX5gA1bIuVoQtM0m2jgwAQt934hMkkA8/5Gg 1HxPZ1V4aJGgChWtdUPdeviGMUujrsyjuIYr8VM91uKPt4Ugg+19LoB3tjS1gfM1AbjO uLD0W1OKAvb6aFQSUmwsISnpcMD0IVyeEyafHUJYJFXu5mFU0wl2WrqY4+Vjn9limytI RAU10Nic/cYc2sis2ASlLxXw0fQebBzqMLR12Yj6Gya+QNZtbHkJj3nwzkDtn/RQy4Uq M7LMMRXdo1tv/ir2Lb8h4Xq5jUz+1jdhdRX5fZcy+q8h8bjoG0fUCg8Wscl/azBhCRnt aWbg== 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=xwVXLW6EHXjXYQU/bPZiOvoRQMD/CTGF7AsjoUdm+7SIX8s2ynedlReU0eMgTb+C1/ x8kwzZv7UtozY5n5eUUGCUOtnicKKS+on7k0fFw/zGR2hqyia6rHzkJnK1/cl5TEt2E2 RbNDQZh4yhrKVMVrfcbU+tizVQIwuo44X0w24Odk5Tasv3uqWqMmPRsAB3L3mOrRpEjs 1fmYJ0/dLUiL4kx9lLwNe8TdSbW763qQ7jei8V4LdrC037r0Lqje8fU5mHxii4Bjf8W8 894v9jCns7di2toQ08EpEFU6ZUT21t0HXSuDq8+KZjrwY0XH6rxvntLmrTlj+gu4iVKi UgSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 b31si1829927pgm.466.2019.06.28.03.32.41; Fri, 28 Jun 2019 03:32:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbfF1Kcl (ORCPT + 11 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 X-Provags-ID: V03:K1:xhFrlLf9WRsFZysgRMvpYZSAo7T4pW2ZaZmYc/wRs8vpFy7E5xr 7S6L2CV+f/6B7ifuk+MUFRIU2zmgkCGWtDzIk/q+RgA7IPl4Ap38X0eSLPjfCNpQ82srMRg zdVBYAgJItSmqT4CIRsnDCakn7wW9YUMYTX8RNn3zS6BCLn4mNBj2vnk4WvzzwJqI2qi0kw C+0O7XnNbUwrnjnp26opw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:xWmgNnRSzZw=:QqmRafXxr6ylAwu1Ap+5OY P12lZ4lA9RESodDWEaBL0WU3oJlpyVGCL1b1ZXYaUbvI5q6eJPGTrs9HBJ0A+T29cvtMNSG3Q dph3QEsfhgXnlmLgYy8GweuZkEjvPM9a3piyIP9t7A+6MvxDpZEg7pzg1pK6pxWK049Czp0Xc yw5LCD5Mlp7M8dXI7jY8651fxBkfvfAtuuRG6Jul3NqfjwJqsH5IatDgOof2Pt41pB0UzAdy0 wf9Nx6OzFqrHCcZMam50WME1TalCWo+SsgqnMVhIUIHApmd5ka69qwHJJCBUmgoNvlgGZ7g0S a6UR25e9yiHiRcPourvTxU9oS9zjqGIKdVgvtWwmsmWcbYIvHft9Pb5spQFCGbUyczjLWEPJY jbzOhhkb7zeoY9EiQtU18hhxYaUQj1ekorObFi2RwFam6vXVq/ZNa1uvQAC8C2NBVZb4DEu2i Lw3+rra7W698ApYCMgLCzlcPzfgY6ktakra1XOTREG1zjV9yWFHrCdTJQja5jOhnEHfFFYdwQ YLQxZIWRO6uSd4y/R8x6jS7GLK4lJUuJP+wYS0BrjULlbJC6qI1H99XrOHP9gfpG9BAqDtZT0 XS/T1L4He9T7w8ZxESPId+BUCJ2SLaK5XplHAIoRGkuo/TeiscYovgZz1v+QR7z15niA6YlX0 qzjcKDxlCQrmQbcJGemD2T1el4RrvZ9SkCMKfBwAPcGV1olIvV5q6DF8KFyf86J0y4Uq77MR0 5lkFHeg3MSj3W1QTgnlAZpkY7H5WLVBjXgZr2w== Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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(+) -- 2.20.0 Reviewed-by: Dmitry Osipenko Reviewed-by: Chanwoo Choi 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