reset: ath79: Fix missing spin_lock_init
PATCH 1/1 reset: ath79: Fix missing spin_lock_init
Signed-off-by Axel Lin <[email protected]>
--- drivers/reset/reset-ath79.c | 1 + 1 file changed, 1 insertion(+)
drivers/reset/reset-ath79.c +1 -0
@@ -89,6 +89,7 @@ static int ath79_reset_probe(struct platform_device *pdev)if (IS_ERR (ath79_reset->base))return PTR_ERR (ath79_reset->base); +spin_lock_init (&ath79_reset->lock); ath79_reset->rcdev.ops = &ath79_reset_ops; ath79_reset->rcdev.owner =THIS_MODULE ; ath79_reset->rcdev.of_node = pdev->dev.of_node;
Signature · 1 line
2.1.0
Quoted 10 lines · On Tue, 01 Sep 2015 20:15:10 +0800 Axel Lin <[email protected]> wrote:
Signed-off-by Axel Lin <[email protected]>--- drivers/reset/reset-ath79.c | 1 + 1 file changed, 1 insertion(+)drivers/reset/reset-ath79.c +0
-0
drivers/reset/reset-ath79.c static int ath79_reset_probe(struct platform_device · line 95
Quoted 7 lines
drivers/reset/reset-ath79.c +1
-0@@ -89,6 +89,7 @@ static int ath79_reset_probe(struct platform_device *pdev) if (IS_ERR(ath79_reset->base))return PTR_ERR (ath79_reset->base); +spin_lock_init (&ath79_reset->lock); ath79_reset->rcdev.ops = &ath79_reset_ops; ath79_reset->rcdev.owner =THIS_MODULE ; ath79_reset->rcdev.of_node = pdev->dev.of_node;
Acked-by Alban Bedel <[email protected]>
Am Dienstag, den 01.09.2015, 14:43 +0200 schrieb Alban:
Quoted 5 lines
Quoted 1 line · On Tue, 01 Sep 2015 20:15:10 +0800 Axel Lin <[email protected]> wrote:
Signed-off-by Axel Lin <[email protected]>Acked-by Alban Bedel <[email protected]>
Applied, thanks.
regards
Philipp