From patchwork Tue Aug 4 23:01:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Daney X-Patchwork-Id: 51929 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 53B1C22E8E for ; Tue, 4 Aug 2015 23:02:18 +0000 (UTC) Received: by labth1 with SMTP id th1sf8912635lab.2 for ; Tue, 04 Aug 2015 16:02:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=379Q8xK4y+PpXFqJWtefv4YAwbpDhiJGAyDu9qjUBmg=; b=NYJvZ5ow/aMOZqCGZFndg9JKNdZ7SOVf/F1ayJLvfZ0aFxi/+Kr5JONWVJg1URWzCk IbBwyZ3opuoS3y/fk/mOGKzHZi7zG55+FBSUQ23+barlnBnNeKhbt8X/H7iMiBDqDSs+ g7lC1dZt2/rv27M6KEeHKGfMwWuRjJI1FZldgoFp1rNNX78T0J2gBww+0A8jE6HtXTFj 3QQjK+HjdQkg/yVAX1I+bwAw7E4uTkFe6Q6S8LtwSLHUevYyGpGY+8S74azAcflRHwkL 0SlS10gmS4SLMGIGFz9Ud2aPRWlA25qW+Gi28trQUsG0uoRZzVY8Rh56NT3C1ZIsd3oL tMoQ== X-Gm-Message-State: ALoCoQnmgV03iXh/r5EERX5EMsjVHePJGZjQGCldz0TI1ck/rLPveDJgOa9Zm7lrgvwcZsnYtoJm X-Received: by 10.112.181.37 with SMTP id dt5mr1788769lbc.10.1438729336971; Tue, 04 Aug 2015 16:02:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.108 with SMTP id ud12ls115061lac.43.gmail; Tue, 04 Aug 2015 16:02:16 -0700 (PDT) X-Received: by 10.152.204.43 with SMTP id kv11mr6748445lac.15.1438729336531; Tue, 04 Aug 2015 16:02:16 -0700 (PDT) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com. [2a00:1450:4010:c03::231]) by mx.google.com with ESMTPS id du6si897139lbc.41.2015.08.04.16.02.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 16:02:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::231 as permitted sender) client-ip=2a00:1450:4010:c03::231; Received: by labow3 with SMTP id ow3so17381440lab.1 for ; Tue, 04 Aug 2015 16:02:16 -0700 (PDT) X-Received: by 10.152.4.163 with SMTP id l3mr6806163lal.35.1438729336433; Tue, 04 Aug 2015 16:02:16 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp39282lba; Tue, 4 Aug 2015 16:02:15 -0700 (PDT) X-Received: by 10.70.64.162 with SMTP id p2mr13012256pds.54.1438729333072; Tue, 04 Aug 2015 16:02:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rb6si1731177pab.13.2015.08.04.16.02.12; Tue, 04 Aug 2015 16:02:13 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753654AbbHDXCJ (ORCPT + 28 others); Tue, 4 Aug 2015 19:02:09 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:38147 "EHLO mail-ig0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753463AbbHDXCG (ORCPT ); Tue, 4 Aug 2015 19:02:06 -0400 Received: by iggf3 with SMTP id f3so21669859igg.1; Tue, 04 Aug 2015 16:02:05 -0700 (PDT) X-Received: by 10.50.61.179 with SMTP id q19mr2518088igr.24.1438729325553; Tue, 04 Aug 2015 16:02:05 -0700 (PDT) Received: from dl.caveonetworks.com (64.2.3.194.ptr.us.xo.net. [64.2.3.194]) by smtp.gmail.com with ESMTPSA id p79sm653356iop.15.2015.08.04.16.02.03 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 04 Aug 2015 16:02:04 -0700 (PDT) Received: from dl.caveonetworks.com (localhost.localdomain [127.0.0.1]) by dl.caveonetworks.com (8.14.5/8.14.5) with ESMTP id t74N2266009179; Tue, 4 Aug 2015 16:02:02 -0700 Received: (from ddaney@localhost) by dl.caveonetworks.com (8.14.5/8.14.5/Submit) id t74N21JR009178; Tue, 4 Aug 2015 16:02:01 -0700 From: David Daney To: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Len Brown , "Rafael J. Wysocki" Cc: Tomasz Nowicki , Robert Richter , David Daney Subject: [PATCH] acpi, property: Export acpi_dev_prop_read_single call. Date: Tue, 4 Aug 2015 16:01:59 -0700 Message-Id: <1438729319-9146-1-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.11.7 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Original-Sender: ddaney.cavm@gmail.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::231 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@gmail.com; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Tomasz Nowicki Fixes the following build error when building drivers as modules: ERROR: "acpi_dev_prop_read_single" [drivers/net/phy/mdio-octeon.ko] undefined! ERROR: "acpi_dev_prop_read_single" [drivers/net/ethernet/cavium/thunder/thunder_bgx.ko] undefined! Reported-by: Andreas Schwab Signed-off-by: Tomasz Nowicki Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/acpi/property.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c index 7836e2e..237e3c5 100644 --- a/drivers/acpi/property.c +++ b/drivers/acpi/property.c @@ -432,6 +432,7 @@ int acpi_dev_prop_read_single(struct acpi_device *adev, const char *propname, } return ret; } +EXPORT_SYMBOL_GPL(acpi_dev_prop_read_single); static int acpi_copy_property_array_u8(const union acpi_object *items, u8 *val, size_t nval)