summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2016-12-04 13:47:28 +0100
committerScott Wood <oss@buserror.net>2016-12-09 23:08:40 -0600
commitec5a0171c78db604d8744095554d930efff67b69 (patch)
tree8f4c47d9022f0845c58bf72ed109e5f9f8cc6812 /arch/powerpc
parent4b91428699477532ab1255c2dd5819713e9e8985 (diff)
downloadlinux-stable-ec5a0171c78db604d8744095554d930efff67b69.tar.gz
linux-stable-ec5a0171c78db604d8744095554d930efff67b69.tar.bz2
linux-stable-ec5a0171c78db604d8744095554d930efff67b69.zip
powerpc/fsl-lbc: use DEFINE_SPINLOCK()
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/sysdev/fsl_lbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_lbc.c b/arch/powerpc/sysdev/fsl_lbc.c
index 424b67fdb57f..5340a483cf55 100644
--- a/arch/powerpc/sysdev/fsl_lbc.c
+++ b/arch/powerpc/sysdev/fsl_lbc.c
@@ -31,7 +31,7 @@
#include <asm/prom.h>
#include <asm/fsl_lbc.h>
-static spinlock_t fsl_lbc_lock = __SPIN_LOCK_UNLOCKED(fsl_lbc_lock);
+static DEFINE_SPINLOCK(fsl_lbc_lock);
struct fsl_lbc_ctrl *fsl_lbc_ctrl_dev;
EXPORT_SYMBOL(fsl_lbc_ctrl_dev);