diff options
author | Fabian Frederick <fabf@skynet.be> | 2016-12-04 13:47:28 +0100 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-12-09 23:08:40 -0600 |
commit | ec5a0171c78db604d8744095554d930efff67b69 (patch) | |
tree | 8f4c47d9022f0845c58bf72ed109e5f9f8cc6812 /arch/powerpc/sysdev | |
parent | 4b91428699477532ab1255c2dd5819713e9e8985 (diff) | |
download | op-kernel-dev-ec5a0171c78db604d8744095554d930efff67b69.zip op-kernel-dev-ec5a0171c78db604d8744095554d930efff67b69.tar.gz |
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/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/fsl_lbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_lbc.c b/arch/powerpc/sysdev/fsl_lbc.c index 424b67f..5340a48 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); |