Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

reset: ath79: Fix missing spin_lock_init

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Axel Lin and committed by
Philipp Zabel
f319cb84 5bcd0b7f

+1
+1
drivers/reset/reset-ath79.c
··· 89 89 if (IS_ERR(ath79_reset->base)) 90 90 return PTR_ERR(ath79_reset->base); 91 91 92 + spin_lock_init(&ath79_reset->lock); 92 93 ath79_reset->rcdev.ops = &ath79_reset_ops; 93 94 ath79_reset->rcdev.owner = THIS_MODULE; 94 95 ath79_reset->rcdev.of_node = pdev->dev.of_node;