From: Pranith Kumar Date: Wed, 20 Aug 2014 03:24:15 +0000 (-0400) Subject: powerpc: Export dcr_ind_lock to fix build error X-Git-Tag: v3.18-rc1~88^2~85 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=22e55fcfd6002accfe1e57e59cf429e6700d4ab4;p=~emulex%2Finfiniband.git 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 Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/sysdev/dcr.c b/arch/powerpc/sysdev/dcr.c index e9056e43857..2d8a101b6b9 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) */