From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov) Date: Wed, 19 Mar 2014 23:53:18 +0300 Subject: [PATCH 06/62] ARM: davinci: export da8xx_syscfg0_base In-Reply-To: <1395257399-359545-7-git-send-email-arnd@arndb.de> References: <1395257399-359545-1-git-send-email-arnd@arndb.de> <1395257399-359545-7-git-send-email-arnd@arndb.de> Message-ID: <532A03BE.3070003@cogentembedded.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 03/19/2014 10:29 PM, Arnd Bergmann wrote: > 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 at 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 */ I have submitted such patch years ago and it was turned down. :-) WBR, Sergei