On Tue, Feb 12, 2019 at 07:03:29PM +0100, Sylwester Nawrocki wrote: > As we now have the 'priv' pointer in most of the places we can use > priv->lock directly, dropping extra indirection in the SFR region > spinlock access. This doesn't build for me: CC sound/soc/samsung/i2s.o In file included from ./include/linux/spinlock.h:309, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:6, from ./include/linux/slab.h:15, from sound/soc/samsung/i2s.c:15: sound/soc/samsung/i2s.c: In function ‘samsung_i2s_dai_remove’: sound/soc/samsung/i2s.c:1109:23: error: ‘priv’ undeclared (first use in this function); did you mean ‘pid’? spin_lock_irqsave(&priv->lock, flags); ^~~~
Attachment:
signature.asc
Description: PGP signature