From patchwork Sat Jun 20 17:03:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Valdis_Kl=C4=93tnieks?= X-Patchwork-Id: 11616325 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 16A1D138C for ; Sat, 20 Jun 2020 23:57:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0534F246DD for ; Sat, 20 Jun 2020 23:57:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728379AbgFTX5s (ORCPT ); Sat, 20 Jun 2020 19:57:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726932AbgFTX5r (ORCPT ); Sat, 20 Jun 2020 19:57:47 -0400 Received: from omr1.cc.vt.edu (omr1.cc.ipv6.vt.edu [IPv6:2607:b400:92:8300:0:c6:2117:b0e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD1B4C061794 for ; Sat, 20 Jun 2020 16:57:47 -0700 (PDT) Received: from mr1.cc.vt.edu (junk.cc.ipv6.vt.edu [IPv6:2607:b400:92:9:0:9d:8fcb:4116]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id 05KH3UHW014354 for ; Sat, 20 Jun 2020 13:03:30 -0400 Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mr1.cc.vt.edu (8.14.7/8.14.7) with ESMTP id 05KH3PUW002611 for ; Sat, 20 Jun 2020 13:03:30 -0400 Received: by mail-qt1-f199.google.com with SMTP id l1so9668798qtv.13 for ; Sat, 20 Jun 2020 10:03:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:mime-version :content-transfer-encoding:date:message-id; bh=cs5+3ih73jFMu6qpNbvhhGPhDRDuHq3E6WeyXknfW4k=; b=OdGYUd6sRB3XuY83Zs82fT3aP6TyHMZQpQg1sWVTPKpIf34grA2bzCWnVxgCBCZQYB G0ZQkUoFFRX1zfS44GweczLFI9q6AKabg5noLB0lb3oUKlOt7zaQ/7waSmu2G3aLm6Eg VgpRN3Lqy2e+r4wsBZjAXCJ6A69EMejEwgw8Z6L030VLQ6GSyfAsIfSpRiXqAKg+Yuad Jpboy9EJ+XviEpqpIR4mcaBRBZafahsynjf7Rn9A8mAc7RR1LdYBJRFnnw+K+KpW0Hw1 KbIMamAKzFoUJ4oECt1xqHMZEsDd8ruuL0dlQMw4kS65ZvBhFYaYelZTq7CAFFExF4lj bxKg== X-Gm-Message-State: AOAM530hBqSlyF0khQ72RldmruYUqbHT1Qt9yHN1BQpIFWeGbVlhAX2O 4unXjkWlzfZYBxZlfeQzVytaS7ExV635Rl8edIgpd/hygvpfjyOZAg5qp2xHeFmLVk0Fo8BFEZ+ 85hiGAnj7Pd24BjF3WqR6+bUoGB4QVw== X-Received: by 2002:ac8:6f2f:: with SMTP id i15mr8927049qtv.73.1592672604852; Sat, 20 Jun 2020 10:03:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx87DNY6uLlTO0cNDTDy29rsTwxaWggNld5pClSRe8YEiuE4m8qPXq/4gO+YPN+IJzlOzmfIw== X-Received: by 2002:ac8:6f2f:: with SMTP id i15mr8927021qtv.73.1592672604410; Sat, 20 Jun 2020 10:03:24 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id u27sm9708775qkm.121.2020.06.20.10.03.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2020 10:03:23 -0700 (PDT) From: "Valdis =?utf-8?q?Kl=C4=93tnieks?= " X-Google-Original-From: "Valdis =?utf-8?q?Kl=C4=93tnieks?= " X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Sibi Sankar , Viresh Kumar , Nishanth Menon Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: opp: core: Add missing export to core.c Mime-Version: 1.0 Date: Sat, 20 Jun 2020 13:03:22 -0400 Message-ID: <566735.1592672602@turing-police> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org After this commit, a 'make allmodconfig' fails due to a missing export. commit 5f2430fb40c74db85764c8a472ecd6849025dd3f Author: Sibi Sankar Date: Sat Jun 6 03:03:31 2020 +0530 cpufreq: qcom: Update the bandwidth levels on frequency change ERROR: modpost: "dev_pm_opp_adjust_voltage" [drivers/cpufreq/qcom-cpufreq-hw.ko] undefined! Provide the export. Fixes: 5f2430fb40c7 ("cpufreq: qcom: Update the bandwidth levels on frequency change") Signed-off-by: Valdis Kletnieks diff --git a/drivers/opp/core.c b/drivers/opp/core.c index 6937bf45f497..c9336aac74e9 100644 --- a/drivers/opp/core.c +++ b/drivers/opp/core.c @@ -2302,6 +2302,7 @@ int dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq, dev_pm_opp_put_opp_table(opp_table); return r; } +EXPORT_SYMBOL_GPL(dev_pm_opp_adjust_voltage); /** * dev_pm_opp_enable() - Enable a specific OPP