]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 06078479beba6639bb1da9137963b29f1fc189f2..f44a2e7272e33f8e8568c4bc597db0bc0b38f5b5 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)
 {