Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f19b797c authored by Joachim Eastwood's avatar Joachim Eastwood Committed by Nicolas Ferre
Browse files

ARM: at91: Export at91_pmc_base



After commit b5514952 (ARM: at91/PMC: make register base soc independent)
building atmel_usba_udc as a module fails with following message
  ERROR: "at91_pmc_base" [drivers/usb/gadget/atmel_usba_udc.ko] undefined!
  make[1]: *** [__modpost] Error 1
  make: *** [modules] Error 2

Export symbol to allow driver to be built as a module again.

Signed-off-by: default avatarJoachim Eastwood <joachim.eastwood@jotron.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 9268c6c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -35,6 +35,7 @@
#include "generic.h"
#include "generic.h"


void __iomem *at91_pmc_base;
void __iomem *at91_pmc_base;
EXPORT_SYMBOL_GPL(at91_pmc_base);


/*
/*
 * There's a lot more which can be done with clocks, including cpufreq
 * There's a lot more which can be done with clocks, including cpufreq