From patchwork Wed Apr 16 13:24:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lan,Tianyu" X-Patchwork-Id: 4001411 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DC5F29F2BA for ; Wed, 16 Apr 2014 13:30:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 17D64202E6 for ; Wed, 16 Apr 2014 13:30:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3DACD202B8 for ; Wed, 16 Apr 2014 13:30:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756308AbaDPN0E (ORCPT ); Wed, 16 Apr 2014 09:26:04 -0400 Received: from mga03.intel.com ([143.182.124.21]:20169 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755398AbaDPN0B (ORCPT ); Wed, 16 Apr 2014 09:26:01 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by azsmga101.ch.intel.com with ESMTP; 16 Apr 2014 06:25:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,872,1389772800"; d="scan'208";a="514168653" Received: from unknown (HELO localhost) ([10.255.20.62]) by fmsmga001.fm.intel.com with ESMTP; 16 Apr 2014 06:25:31 -0700 From: Lan Tianyu To: wsa@the-dreams.de, rjw@rjwysocki.net, lenb@kernel.org, mika.westerberg@linux.intel.com, awilliam@redhat.com, tianyu.lan@intel.com, robert.moore@intel.com, lv.zheng@intel.com, rafael.j.wysocki@intel.com Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, devel@acpica.org Subject: [PATCH 2/9] ACPICA: Export acpi_buffer_to_resource symbol Date: Wed, 16 Apr 2014 21:24:35 +0800 Message-Id: <1397654682-7094-3-git-send-email-tianyu.lan@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1397654682-7094-1-git-send-email-tianyu.lan@intel.com> References: <1397654682-7094-1-git-send-email-tianyu.lan@intel.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The acpi_buffer_to_resource is needed in i2c module to convert aml buffer to struct acpi_resource Signed-off-by: Lan Tianyu --- drivers/acpi/acpica/rscreate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/acpica/rscreate.c b/drivers/acpi/acpica/rscreate.c index 75d3690..5828649 100644 --- a/drivers/acpi/acpica/rscreate.c +++ b/drivers/acpi/acpica/rscreate.c @@ -112,6 +112,7 @@ acpi_buffer_to_resource(u8 *aml_buffer, return (status); } +ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource); /******************************************************************************* *