From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A793C4361B for ; Tue, 15 Dec 2020 08:36:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 225E7222B6 for ; Tue, 15 Dec 2020 08:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727055AbgLOIgY (ORCPT ); Tue, 15 Dec 2020 03:36:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727113AbgLOIgU (ORCPT ); Tue, 15 Dec 2020 03:36:20 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92D45C06179C for ; Tue, 15 Dec 2020 00:35:39 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id n16so624077wmc.0 for ; Tue, 15 Dec 2020 00:35:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WvPKKN96Ccg1VL09cf4I7WxZ2qrcDyYIpB/dBxWbKho=; b=bg7lpsy+arnhoFT5o3fVrzhi1dBcLS9Z7KUjhsDMhtXxs9KANFmHs3JjB9i+rDm5DN YtmAfwtA4q4ke9zoZwm97l2iH0DoZlEeVi0RRGtqL95E6fgS1G4rY5z0BJldBesAQM/a X//R/gMqXNhGFXPmpvpz4osZFDW0HCD6PzztXeun0dNzWbHRv0G/SkKjuXLIBBGCrXsd t4etzAEQmukujrvRKZ9Bf4FslpulTVOzsUHj8y2y0vQH1pMT8BYxM9tfL9bsf5ZmbIJC O/HfDeyM1xw6uR/dBJhIOMBLJQ/8QV/KGoc9utEL2kOpD5h4odjr5q8M+iK+wvERUiMx +MkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WvPKKN96Ccg1VL09cf4I7WxZ2qrcDyYIpB/dBxWbKho=; b=GduWpqpQ7DLenCO4n8cKG6zCzUNcgxBJ2MqLnkkL3J5yIh2z32K3sjsA+9PmGAtYNJ h6mHl4TZIXfFz/E792I37hq42XnnPu8KT5esvJ/56wxzSuC6DhQ3pRnlCel6T0UD2rzO 8NUAFkpN/msroKHS4aO2lqWsQUdpP3WBFA6Am50HbOMWDzOTNixflDkCQ4UGq2RI84bW 9lDHfrRE6vhzOOp5GqK8UFI5+nWoSE+U96xbNct/uHBdfeWyAncfMIEJPgr4dLxzF0iw ny4wpfWl+onpKTswhr3uWB1iIeVTdVOB31rJsylBuyWB3rzFmPM9d7RbOxLJo5h64Lx4 e4LQ== X-Gm-Message-State: AOAM531vLRZT9RqseG2zkC/2EtPIgmcaW51PUMxLyCnTvBxlH2upASDs a7mWVODyabQCVdFyP1poaUrw0g== X-Google-Smtp-Source: ABdhPJzsSkohaz1ioGJS6qcY8m24+xFpkgROSZxyI2LPJ5+mID0W/NhoA6/iDJm6HpGyTsRYPXk1vw== X-Received: by 2002:a1c:9609:: with SMTP id y9mr16593639wmd.75.1608021338071; Tue, 15 Dec 2020 00:35:38 -0800 (PST) Received: from mai.imgcgcw.net ([2a01:e34:ed2f:f020:e842:4086:6f24:55a6]) by smtp.gmail.com with ESMTPSA id 64sm36577980wmd.12.2020.12.15.00.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 00:35:37 -0800 (PST) From: Daniel Lezcano To: daniel.lezcano@linaro.org, rui.zhang@intel.com, lukasz.luba@arm.com Cc: sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org Subject: [PATCH] thermal/drivers/devfreq: Fix missing dependency with the energy model Date: Tue, 15 Dec 2020 09:35:20 +0100 Message-Id: <20201215083520.601988-1-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201215125806.31495950@canb.auug.org.au> References: <20201215125806.31495950@canb.auug.org.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The devfreq cooling device has been converted to use the energy model. Add the dependency on the ENERGY_MODEL option to reflect this change and prevent build failure if the option is not set. Fixes: 615510fe13bd2 ("thermal: devfreq_cooling: remove old power model and use EM") Signed-off-by: Daniel Lezcano --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 7edc8dc6bbab..ee62d51ef351 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -193,6 +193,7 @@ config DEVFREQ_THERMAL bool "Generic device cooling support" depends on PM_DEVFREQ depends on PM_OPP + depends on ENERGY_MODEL help This implements the generic devfreq cooling mechanism through frequency reduction for devices using devfreq. -- 2.25.1