mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
powerpc/fsl-lbc: use DEFINE_SPINLOCK()
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Scott Wood <oss@buserror.net>
This commit is contained in:
parent
4b91428699
commit
ec5a0171c7
|
@ -31,7 +31,7 @@
|
||||||
#include <asm/prom.h>
|
#include <asm/prom.h>
|
||||||
#include <asm/fsl_lbc.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;
|
struct fsl_lbc_ctrl *fsl_lbc_ctrl_dev;
|
||||||
EXPORT_SYMBOL(fsl_lbc_ctrl_dev);
|
EXPORT_SYMBOL(fsl_lbc_ctrl_dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue