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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 DE537C433DB for ; Tue, 23 Mar 2021 04:55:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97F08619AE for ; Tue, 23 Mar 2021 04:55:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229493AbhCWEzC (ORCPT ); Tue, 23 Mar 2021 00:55:02 -0400 Received: from mga18.intel.com ([134.134.136.126]:42797 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbhCWEzC (ORCPT ); Tue, 23 Mar 2021 00:55:02 -0400 IronPort-SDR: c97/r/el3Srh6XHK3/qZbcleyqaT9QG1G+8A3ivO7xrj56f4D5ZVds7Y+LD433CJYwfi0VCvth H08u82iLB9RA== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="177972533" X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="177972533" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 21:55:01 -0700 IronPort-SDR: yhYI/1uJUy4l7EaguqVVIxEe5ZZZxUj0hnwrZZI9coHoAAaF92ddet0KSoGvVBDrlciJjtUgFf bzAhf0k1z9Bw== X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="414797782" Received: from chenyu-desktop.sh.intel.com (HELO chenyu-desktop) ([10.239.158.173]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 21:54:59 -0700 Date: Tue, 23 Mar 2021 12:59:08 +0800 From: Chen Yu To: "Rafael J. Wysocki" Cc: Linux ACPI , LKML , Linux PM , Srinivas Pandruvada , Viresh Kumar , Ionela Voinescu Subject: Re: [PATCH] ACPI: CPPC: Add emtpy stubs of functions for CONFIG_ACPI_CPPC_LIB unset Message-ID: <20210323045908.GA71586@chenyu-desktop> References: <538668936.KFQZekuijD@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <538668936.KFQZekuijD@kreacher> Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Tue, Mar 16, 2021 at 04:54:03PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > For convenience, add empty stubs of library functions defined in > cppc_acpi.c for the CONFIG_ACPI_CPPC_LIB unset case. > > Because one of them needs to return CPUFREQ_ETERNAL, include > linux/cpufreq.h into the CPPC library header file and drop the > direct inclusion of it from cppc_acpi.c. > > Signed-off-by: Rafael J. Wysocki Tested-by: Chen Yu thanks, Chenyu