From patchwork Sat Aug 3 09:25:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 18745 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 07ECA23981 for ; Sat, 3 Aug 2013 09:25:28 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id bv4sf363069qab.4 for ; Sat, 03 Aug 2013 02:25:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-removed-original-auth:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=HzmqwePEt5ZefZ5dhgaogPnVLspxvAJPYH/EH1JfZc0=; b=dlIpBgcw/uDFwv9rnsy349zyqAxfCx8Oyjru75jpQlty1E6gThsuQQUocJfnn3cet0 5At7pQvduPbZHuGpdEfs3VatGwxWHJOi4Rgk3/a16PLj8s7pzhZnEuPm04NkG4EphvMj Kn1GgqdvmUKbU/G2bK7d2FkT3sHsdWxjkWQcY563JEJmACrXe7i6OMIhuSgm/QMrvt9E RmQ9TRgSgceoSvgZIEnqtHnOIDmkD26WEG2Ch8jDr5dSwa7jJI9o8m5GqXdFttkwHIs7 vyvgmeGPH46pDRa47o5Vd2B5Dy3KAkfkcMOU0duuoF7T8NAXoS2+m9tE60YG4TLVOCGT cZPw== X-Received: by 10.236.169.196 with SMTP id n44mr4773816yhl.9.1375521927681; Sat, 03 Aug 2013 02:25:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.110.40 with SMTP id hx8ls406872qeb.83.gmail; Sat, 03 Aug 2013 02:25:27 -0700 (PDT) X-Received: by 10.58.231.71 with SMTP id te7mr3329062vec.65.1375521927546; Sat, 03 Aug 2013 02:25:27 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id ur15si2872741veb.146.2013.08.03.02.25.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 02:25:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id d10so1639845vea.33 for ; Sat, 03 Aug 2013 02:25:27 -0700 (PDT) X-Received: by 10.58.187.4 with SMTP id fo4mr3312636vec.55.1375521927245; Sat, 03 Aug 2013 02:25:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp401089vcb; Sat, 3 Aug 2013 02:25:26 -0700 (PDT) X-Received: by 10.68.93.227 with SMTP id cx3mr12084157pbb.146.1375521926199; Sat, 03 Aug 2013 02:25:26 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id bs5si10066844pab.24.2013.08.03.02.25.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 02:25:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.220.50; Received: by mail-pa0-f50.google.com with SMTP id fb10so1522556pad.37 for ; Sat, 03 Aug 2013 02:25:25 -0700 (PDT) X-Received: by 10.66.2.7 with SMTP id 7mr14757277paq.181.1375521925267; Sat, 03 Aug 2013 02:25:25 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id yg1sm12888633pbb.1.2013.08.03.02.25.21 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 03 Aug 2013 02:25:24 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl, pavel@ucw.cz Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Viresh Kumar Subject: [PATCH] OPP: Export opp_add() Date: Sat, 3 Aug 2013 14:55:06 +0530 Message-Id: <58acb4a8a4e98089078de3ed71999730b6d97b4b.1375521724.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e X-Gm-Message-State: ALoCoQmYqb8hRfE/CDmrk+JRK337cHz9o4xqpKVUtDWJxgsx1GZYAgk9Pxy0nhLy9RpLTHu3FZKc X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Export opp_add() so that modules can use it. Signed-off-by: Viresh Kumar Acked-by: Nishanth Menon --- drivers/base/power/opp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index c8ec186..ef89897 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c @@ -460,6 +460,7 @@ int opp_add(struct device *dev, unsigned long freq, unsigned long u_volt) srcu_notifier_call_chain(&dev_opp->head, OPP_EVENT_ADD, new_opp); return 0; } +EXPORT_SYMBOL_GPL(opp_add); /** * opp_set_availability() - helper to set the availability of an opp