aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dcr.c
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-08-19 23:24:15 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 23:14:45 +1000
commit22e55fcfd6002accfe1e57e59cf429e6700d4ab4 (patch)
treebb22af917e15083b95e0af34484bd138dda513cb /arch/powerpc/sysdev/dcr.c
parentpowerpc: Move htab_remove_mapping function prototype into header file (diff)
downloadlinux-dev-22e55fcfd6002accfe1e57e59cf429e6700d4ab4.tar.xz
linux-dev-22e55fcfd6002accfe1e57e59cf429e6700d4ab4.zip
powerpc: Export dcr_ind_lock to fix build error
Fix build error caused by missing export: ERROR: "dcr_ind_lock" [drivers/net/ethernet/ibm/emac/ibm_emac.ko] undefined! Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/dcr.c')
-rw-r--r--arch/powerpc/sysdev/dcr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/dcr.c b/arch/powerpc/sysdev/dcr.c
index e9056e438575..2d8a101b6b9e 100644
--- a/arch/powerpc/sysdev/dcr.c
+++ b/arch/powerpc/sysdev/dcr.c
@@ -230,5 +230,6 @@ EXPORT_SYMBOL_GPL(dcr_unmap_mmio);
#ifdef CONFIG_PPC_DCR_NATIVE
DEFINE_SPINLOCK(dcr_ind_lock);
+EXPORT_SYMBOL_GPL(dcr_ind_lock);
#endif /* defined(CONFIG_PPC_DCR_NATIVE) */