From patchwork Fri Jul 22 02:24:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Muckle X-Patchwork-Id: 72592 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp758632qga; Thu, 21 Jul 2016 19:24:54 -0700 (PDT) X-Received: by 10.98.54.134 with SMTP id d128mr2251368pfa.150.1469154294638; Thu, 21 Jul 2016 19:24:54 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uy8si13043565pac.229.2016.07.21.19.24.53; Thu, 21 Jul 2016 19:24:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753407AbcGVCYw (ORCPT + 29 others); Thu, 21 Jul 2016 22:24:52 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:36601 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751482AbcGVCYu (ORCPT ); Thu, 21 Jul 2016 22:24:50 -0400 Received: by mail-pf0-f177.google.com with SMTP id h186so36139247pfg.3 for ; Thu, 21 Jul 2016 19:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4ZpjVLZ/1sww98F0qP+fHv7JMVAive3dVkfDkF5FkMk=; b=BJoNZ5T01mvYibWdrG4npr0rIf5Qjbu8rGaEiZjAraou+6JK1ZBynyXwWJXSLJn/AP Z3Vkbp8GSzSeL8AOLN1HZc/7GDJdHENXNRiCSLMUamaNrXAYQ3/xiT4HSuWXJ3auFI+H mlIBTUNoSbMAd/jDMYUE+aIu+neKMbygEnscQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4ZpjVLZ/1sww98F0qP+fHv7JMVAive3dVkfDkF5FkMk=; b=BH2zfpdCMavSahMy85DWI8fziCxM0pwALnQl2Kz8azlE9ONuO1N1ASn8M+ljyJzxGK kpSJPi9f0dxNyQPrHDs8Bl0ZqrJdX71HsRRSYzBw2veiEGbUVJBsetPvhNTRfu8KkppR sNXAIaWjR1DGbf6SFT7RMZUcDW19BdIQtFhQnJ0shBy4A9t//SJxmPfTtc6HBwEhoTUQ lpYNkQQYrcDBEXw3nSo23lvXRQlsZNKMrxM0Gx/XZmDzBBxmEvMarDjjq3f8gJSQmfH+ zQIQ1/gmanagE1iVXf6uBVnBYTj0KI5r3saspBAugacK0vGsLm5ckvqmDiHjcf8NLYpw pKoQ== X-Gm-Message-State: AEkoouuOgJMwC5pHNlAFyUxiKzcYOJDN+XzwjlM0802k0Dhq3yWbBXU6x+QNz41T5BeISKPH X-Received: by 10.98.34.151 with SMTP id p23mr2290427pfj.102.1469154290012; Thu, 21 Jul 2016 19:24:50 -0700 (PDT) Received: from graphite.smuckle.net (cpe-76-167-105-107.san.res.rr.com. [76.167.105.107]) by smtp.gmail.com with ESMTPSA id n5sm15284005pai.11.2016.07.21.19.24.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jul 2016 19:24:49 -0700 (PDT) From: Steve Muckle X-Google-Original-From: Steve Muckle To: "Rafael J . Wysocki" , Viresh Kumar Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Stephen Rothwell , Steve Muckle Subject: [PATCH] cpufreq: export cpufreq_driver_resolve_freq() Date: Thu, 21 Jul 2016 19:24:38 -0700 Message-Id: <1469154278-7373-1-git-send-email-smuckle@linaro.org> X-Mailer: git-send-email 2.7.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export cpufreq_driver_resolve_freq() since governors may be compiled as modules. Reported-by: Stephen Rothwell Signed-off-by: Steve Muckle --- drivers/cpufreq/cpufreq.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.3 diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index b696baeb249d..fa0a92d6121e 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -514,6 +514,7 @@ unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy, CPUFREQ_RELATION_L); return policy->freq_table[policy->cached_resolved_idx].frequency; } +EXPORT_SYMBOL_GPL(cpufreq_driver_resolve_freq); /********************************************************************* * SYSFS INTERFACE *