PPC: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.
PATCH 1/1 PPC: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.
Signed-off-by Robert P. J. Day <[email protected]>
---
arch/ppc/syslib/mpc52xx_setup.c +1 -1
@@ -279,7 +279,7 @@ int mpc52xx_match_psc_function(int psc_idx, const char *func)int mpc52xx_set_psc_clkdiv (int psc_id,int clkdiv) { -static spinlock_t lock =SPIN_LOCK_UNLOCKED ; +static DEFINE_SPINLOCK (lock);struct mpc52xx_cdm __iomem *cdm;unsigned long flags;u16 mclken_div;
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================