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: 9242829 X-Patchwork-Delegate: rjw@sisk.pl 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 D6272602F0 for ; Fri, 22 Jul 2016 02:25:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6E4B27BF7 for ; Fri, 22 Jul 2016 02:25:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BADE227D64; Fri, 22 Jul 2016 02:25:06 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham 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 5FF9827BF7 for ; Fri, 22 Jul 2016 02:25:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752175AbcGVCYv (ORCPT ); Thu, 21 Jul 2016 22:24:51 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:33607 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751519AbcGVCYu (ORCPT ); Thu, 21 Jul 2016 22:24:50 -0400 Received: by mail-pf0-f170.google.com with SMTP id y134so36228102pfg.0 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=PJzv7o+pC62uxLloxpMqaF++Q+rbUAbYIDfJ+zOllcqicKn5/hYpkHA1BCBKhVbXsV n+tN6wH+k1lRM/W8PjflUQBmANmgTHtwKNKn5bkpobaZr+hAAn7m/y6RNU7/+ZCDJXA4 VT0sFARKXbfJLAEJSD4ox7OlpTaT/1ARdV8jaRAAkwFKPQMy2GQNiIRHBX+0qpf3M6vE ilS1ARhOesQf6EQ4pDJvTVqpCUqXi0vvSYgIM1N160nwDw/OslhprPm7I+QUk1pnyiXJ RjsOtzjPIysHguBLWzdbBdffRr7XwSpEIhr/GGapTYi55z/tYRd8r/6uHdgD/nvXmAEb /Jvw== X-Gm-Message-State: AEkoousxRWjrX3Q41PUoMQKLRAPN7iu43GcmaGjYFMz8Dm5H25K6TXHM3lsqy7s5K9l6mLfU 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Export cpufreq_driver_resolve_freq() since governors may be compiled as modules. Reported-by: Stephen Rothwell Signed-off-by: Steve Muckle Acked-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 1 + 1 file changed, 1 insertion(+) 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 *