ARM: at91: Export at91_matrix_base
authorJoachim Eastwood <manabian@gmail.com>
Sat, 7 Apr 2012 17:30:23 +0000 (19:30 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 16 Apr 2012 09:08:24 +0000 (11:08 +0200)
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@jotron.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/setup.c

index 0607847..f44a2e7 100644 (file)
@@ -293,6 +293,7 @@ void __init at91_ioremap_rstc(u32 base_addr)
 }
 
 void __iomem *at91_matrix_base;
+EXPORT_SYMBOL_GPL(at91_matrix_base);
 
 void __init at91_ioremap_matrix(u32 base_addr)
 {