Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Pranith Kumar and committed by
Michael Ellerman
22e55fcf f6026df1

+1
+1
arch/powerpc/sysdev/dcr.c
··· 230 230 231 231 #ifdef CONFIG_PPC_DCR_NATIVE 232 232 DEFINE_SPINLOCK(dcr_ind_lock); 233 + EXPORT_SYMBOL_GPL(dcr_ind_lock); 233 234 #endif /* defined(CONFIG_PPC_DCR_NATIVE) */ 234 235