[PATCH 2/2] ARM: at91: Export at91_matrix_base

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Apr 6 23:19:33 EDT 2012


On 23:24 Fri 06 Apr     , Joachim Eastwood wrote:
> at91_matrix_* macro's are used by at91_udc usb gadget driver,
> which can be built as module, therefore we need to export the
> variable containing matrix base address.
> 
> Signed-off-by: Joachim Eastwood <joachim.eastwood at jotron.com>
> ---
> 
> I didn't get a build error out of this one and I don't understand why.
> If there are some magic I don't understand going on feel free to drop
> this patch.
> 
>  arch/arm/mach-at91/setup.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
> index a1fcba3..8752d79 100644
> --- a/arch/arm/mach-at91/setup.c
> +++ b/arch/arm/mach-at91/setup.c
> @@ -293,6 +293,7 @@ void __init at91_ioremap_rstc(u32 base_addr)
>  }
>  
>  void __iomem *at91_matrix_base;
> +EXPORT_SYMBOL(at91_matrix_base);
ditto here

Best Regards,
J.



More information about the linux-arm-kernel mailing list