Skip to content

Commit

Permalink
powerpc: Export dcr_ind_lock to fix build error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pranith Kumar authored and Michael Ellerman committed Sep 25, 2014
1 parent f6026df commit 22e55fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/sysdev/dcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */

0 comments on commit 22e55fc

Please sign in to comment.