From patchwork Thu Aug 24 01:42:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 9918855 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BDDC4603FA for ; Thu, 24 Aug 2017 01:44:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B257128ADC for ; Thu, 24 Aug 2017 01:44:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A740428AE1; Thu, 24 Aug 2017 01:44:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B7E428ADC for ; Thu, 24 Aug 2017 01:44:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751190AbdHXBnE (ORCPT ); Wed, 23 Aug 2017 21:43:04 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:20005 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbdHXBnB (ORCPT ); Wed, 23 Aug 2017 21:43:01 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20170824014300epoutp01da532994118c098e981797c20a46a109~dpLyDvOr-0604406044epoutp01j; Thu, 24 Aug 2017 01:43:00 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.40.70]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20170824014259epcas1p466a26e59429a81f6b34ad626898f4735~dpLxvJD3G0750607506epcas1p4j; Thu, 24 Aug 2017 01:42:59 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id E6.EC.14130.32F2E995; Thu, 24 Aug 2017 10:42:59 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20170824014259epcas2p2d2b85a7c324b101e7e4e8551873ca3ab~dpLxhqihT2482624826epcas2p2u; Thu, 24 Aug 2017 01:42:59 +0000 (GMT) X-AuditID: b6c32a47-f79db6d000003732-bc-599e2f238191 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id FB.38.10338.32F2E995; Thu, 24 Aug 2017 10:42:59 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OV600BON23MQ710@mmp2.samsung.com>; Thu, 24 Aug 2017 10:42:59 +0900 (KST) From: Chanwoo Choi To: myungjoo.ham@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com Cc: rafael.j.wysocki@intel.com, chanwoo@kernel.org, inki.dae@samsung.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 04/12] PM / devfreq: Add dependency on PM_OPP Date: Thu, 24 Aug 2017 10:42:51 +0900 Message-id: <1503538979-22693-5-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1503538979-22693-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGKsWRmVeSWpSXmKPExsWy7bCmma6y/rxIg5NbDC0m3rjCYnH9y3NW i0n3J7BYnG16w25xedccNovPvUcYLW43rmCzeLziLbsDh8fiPS+ZPDat6mTz6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uU1JzMstQifbsEroyfz5MLVrNVzDk9nbWBcSprFyMnh4SAiUT7t5PsXYxcHEIC6xgl zs15yQzh/GCU2HF8HTtIFZuAlsT+FzfYQGwRAT+J7fPXM4IUMQs0MUos778FlhAWsJVYuP8F M4jNIqAqcWfVOqYuRg4OXgFXie1/WCC2yUl82PMIbCangJtEy9MusLgQUMmevqOMExh5FjAy rGKUTC0ozk3PLTYqMMpLLdcrTswtLs1L10vOz93ECAyibYe1+ncwPl4Sf4hRgINRiYf3wsK5 kUKsiWXFlbmHGCU4mJVEePeqz4sU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzpvZNyNSSCA9sSQ1 OzW1ILUIJsvEwSnVwLih/3X97LRj8cZX17X2C0r68X+aWDBz9qyyYsl2qfNFG/lT+OeHxJ+5 9kZ/lmd/cHjQ1tynD34aTL+yScXon+LFSM05x3messzZpbZtz327d2HRbyK7XP8eXF7elB9q X5f/pa5yAUM/a3zp/t3rNdd1HM2df79ba3+dvegr66UWx/Tyf+Z5FCqxFGckGmoxFxUnAgCb JttXHgIAAA== X-CMS-MailID: 20170824014259epcas2p2d2b85a7c324b101e7e4e8551873ca3ab X-Msg-Generator: CA X-Sender-IP: 182.195.42.143 X-Local-Sender: =?UTF-8?B?7LWc7LCs7JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbU2VuaW9yIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?Q2hhbndvbyBDaG9pG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtTZW5pb3IgRW5naW5lZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170824014259epcas2p2d2b85a7c324b101e7e4e8551873ca3ab X-RootMTR: 20170824014259epcas2p2d2b85a7c324b101e7e4e8551873ca3ab References: <1503538979-22693-1-git-send-email-cw00.choi@samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The devfreq ues the OPP library to handle the voltage and frequency for the device basically. This patch adds the dependency on CONFIG_PM_OPP in order to prevent either the build break or the unknow behavior. Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- drivers/devfreq/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 41254e702f1e..6a172d338f6d 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -1,6 +1,7 @@ menuconfig PM_DEVFREQ bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support" select SRCU + select PM_OPP help A device may have a list of frequencies and voltages available. devfreq, a generic DVFS framework can be registered for a device