From patchwork Fri Jun 30 06:05:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 698265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EBBDEB64D7 for ; Fri, 30 Jun 2023 06:05:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229850AbjF3GFt (ORCPT ); Fri, 30 Jun 2023 02:05:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjF3GFs (ORCPT ); Fri, 30 Jun 2023 02:05:48 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5EDA2122 for ; Thu, 29 Jun 2023 23:05:46 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2633fe9b6c0so931153a91.1 for ; Thu, 29 Jun 2023 23:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688105146; x=1690697146; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aoWE23CXzwwvKS/GqWrSHTla9or+X8quOknw9f7pTDY=; b=xDtl7ksuvO5i2QhER94EPHHNNBlxCU8+PaHhx/Jb5jwnmxB6jaas62WI/Am8IxPwZO teSR1kdfWeef7fbPP4sRT2DD7M5CXYFt0j8+YxsDE7ozCIZd8GrPhIcotmLbTFlnfJzM 1Hq0nSfgrAxaM8EeZsBnKmn/W94r25g5MhOGRTkmDEYTesBvcCnXseekWq7AQnnkY91l 52FStTweEJGrcysgp9Q7+GuXiYyf7Q0JVU//klq9JNDb+L5a/pdoXf77KTdfSmPPUGhi tUBqChTEbOYetyN+E/TTa64+uxVn1p0zrgbMUZOHrNbuDRFHZmlgS3OuX4/K3coqfBGh 0ASA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688105146; x=1690697146; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aoWE23CXzwwvKS/GqWrSHTla9or+X8quOknw9f7pTDY=; b=PhMossiXPtGjQezjY08K82ltKg5nhSCDuGbkPOms4AzfoCLdK8av2byTXBtwl8uQPC 11uOW6qFInip6dKeEhIogM0XWUD9W8Jbz6pMmgu6rBagcsD0ZtbYYKPcfqgf/VWDMmvP YBEFyRrQsie35W1ySQ+DjKIIhkAog7N9wLeOiLTQrw9OSXKh1OWyb++UrhbPYNgZ6XO1 D741pUFTOLnv0KQyMNgKV2181rAlsrD3S79jC0ouH1pnmcxnYVLZngao7X8zr3Vrkwu6 h2VLzoESg2/IDrIpQWr8pgyJ1UL4uRTAAfz4xSwznQxL1NGzy+gve5ZMbfvPxuC9ng8m 4W+Q== X-Gm-Message-State: AC+VfDwiQxCjXKYDDuR81DLM/GZtXdUgViA1cPLRLnH9SH3wktP6IP8p 91MY2R/VVu4GPZiX2XErV1qNvg== X-Google-Smtp-Source: ACHHUZ7zMT8JD1BZ3GCoxKp65FxEBzvlf+8OksNhXYlgF77Ndx5OwkIR3gU4UkPfq4uV/gnonDKe5g== X-Received: by 2002:a17:90a:6e02:b0:261:326d:99e8 with SMTP id b2-20020a17090a6e0200b00261326d99e8mr8159709pjk.2.1688105146135; Thu, 29 Jun 2023 23:05:46 -0700 (PDT) Received: from localhost ([122.172.87.195]) by smtp.gmail.com with ESMTPSA id x13-20020a17090a1f8d00b0025bf9e02e1bsm10823351pja.51.2023.06.29.23.05.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 23:05:45 -0700 (PDT) From: Viresh Kumar To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, Vincent Guittot , Nathan Chancellor , Zhipeng Wang , kernel test robot , linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: Make CONFIG_CPUFREQ_DT_PLATDEV depend on OF Date: Fri, 30 Jun 2023 11:35:41 +0530 Message-Id: <4639e8e00a321e2bbbe4dcbb93e57ca6c10bab51.1688105074.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The cpufreq-dt-platform.c driver requires CONFIG_OF to be selected. Mark it as a dependency. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202306250025.savpMM8L-lkp@intel.com/ Signed-off-by: Viresh Kumar --- Rafael, Please apply this directly for v6.5. Thanks. drivers/cpufreq/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index dda3a78bfd5c..6693d52ac3fa 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -219,6 +219,7 @@ config CPUFREQ_DT config CPUFREQ_DT_PLATDEV tristate "Generic DT based cpufreq platdev driver" + depends on OF help This adds a generic DT based cpufreq platdev driver for frequency management. This creates a 'cpufreq-dt' platform device, on the