From: Fabian Frederick Date: Sun, 4 Dec 2016 12:47:28 +0000 (+0100) Subject: powerpc/fsl-lbc: use DEFINE_SPINLOCK() X-Git-Tag: v4.10-rc1~75^2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec5a0171c78db604d8744095554d930efff67b69;p=platform%2Fkernel%2Flinux-exynos.git powerpc/fsl-lbc: use DEFINE_SPINLOCK() Signed-off-by: Fabian Frederick Signed-off-by: Scott Wood --- 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 #include -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);