From patchwork Wed Mar 19 19:29:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 3860631 Return-Path: X-Original-To: patchwork-davinci@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 CC7FF9F387 for ; Wed, 19 Mar 2014 19:32:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EEB86201F9 for ; Wed, 19 Mar 2014 19:32:08 +0000 (UTC) Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EEFC8201E7 for ; Wed, 19 Mar 2014 19:32:07 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2JJV782023985; Wed, 19 Mar 2014 14:31:07 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2JJV7sU032347; Wed, 19 Mar 2014 14:31:07 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Wed, 19 Mar 2014 14:31:06 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2JJV6AB021585; Wed, 19 Mar 2014 14:31:06 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id A1D0580627; Wed, 19 Mar 2014 13:31:06 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlelxv84.itg.ti.com (dlelxv84.itg.ti.com [172.17.0.246]) by linux.omap.com (Postfix) with ESMTP id 1D8C980628 for ; Wed, 19 Mar 2014 13:31:05 -0600 (CST) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dlelxv84.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2JJV5Bv029008 for ; Wed, 19 Mar 2014 14:31:05 -0500 Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by red.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2JJV2G2013534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 19 Mar 2014 14:31:04 -0500 Received: from [216.82.250.51:48930] by server-12.bemta-12.messagelabs.com id 4C/9C-07335-670F9235; Wed, 19 Mar 2014 19:31:02 +0000 X-Env-Sender: arnd@arndb.de X-Msg-Ref: server-14.tower-108.messagelabs.com!1395257460!9711258!1 X-Originating-IP: [212.227.17.13] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 17746 invoked from network); 19 Mar 2014 19:31:01 -0000 Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.17.13) by server-14.tower-108.messagelabs.com with DHE-RSA-AES128-SHA encrypted SMTP; 19 Mar 2014 19:31:01 -0000 Received: from wuerfel.lan (HSI-KBW-134-3-135-108.hsi14.kabel-badenwuerttemberg.de [134.3.135.108]) by mrelayeu.kundenserver.de (node=mreue105) with ESMTP (Nemesis) id 0MMnOB-1WTvl82O3L-008axV; Wed, 19 Mar 2014 20:30:33 +0100 From: Arnd Bergmann To: Subject: [PATCH 06/62] ARM: davinci: export da8xx_syscfg0_base Date: Wed, 19 Mar 2014 20:29:03 +0100 Message-ID: <1395257399-359545-7-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395257399-359545-1-git-send-email-arnd@arndb.de> References: <1395257399-359545-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:WCYnCICfvX6Bp2ASgDRBX/AUz96baw0jnBtgeJfvctP FIevPQEthwCrcO0BM1sXyTByLUiEUVA+57yAE3xfQnrsNM11NI BxxQtEZoI6JAoUY8LBPomplIl95O0IBfRTP2vYWQRqEWI8d6+P lbkuN7Y2prmXyf9F9oPRBRnfeSAoMuI70Vhi/twlmlx49XGJxF eXMeUntlf9Deq4gcfI2HokrNCYMERSosGhPrNoGO6OttdO67eQ X8d/Y04DUFOG1557nIiuO+w2RhtxtSUDQIKyHnF7w8/cqwpHDc cvI9UaKk11pkH7CgmXev4rQP8MF30tNKFYw1p8if4ewfEyzZ8U TGouhSMCiIphgSCWK8UNvQnHHVyBjV4+p5owlJdf5 CC: Kevin Hilman , , Arnd Bergmann , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 ohci-da8xx driver uses the DA8XX_SYSCFG0_VIRT macro to access the CFGCHIP2 register for controlling its PHY. The macro in turn relies on the da8xx_syscfg0_base global variable. Since the OHCI driver can be a loadable module, this requires the symbol to be exported from platform code. Signed-off-by: Arnd Bergmann Cc: Sekhar Nori Cc: Kevin Hilman Cc: davinci-linux-open-source@linux.davincidsp.com --- arch/arm/mach-davinci/devices-da8xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index 0486cdf..4da868a 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c @@ -66,6 +66,7 @@ #define DA850_DMA_MMCSD1_TX EDMA_CTLR_CHAN(1, 29) void __iomem *da8xx_syscfg0_base; +EXPORT_SYMBOL_GPL(da8xx_syscfg0_base); /* used by OHCI_HCD */ void __iomem *da8xx_syscfg1_base; static struct plat_serial8250_port da8xx_serial0_pdata[] = {