diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-09-01 20:15:10 +0800 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-09-01 14:48:40 +0200 |
commit | f319cb8491e1b4cc44e7baeeb3ae7817dedf57fc (patch) | |
tree | 1a352ee1d133b0f16729154e203e269c0387136a /drivers/reset | |
parent | 5bcd0b7f3c56c616abffd89e11c841834dd1528c (diff) | |
download | linux-f319cb8491e1b4cc44e7baeeb3ae7817dedf57fc.tar.bz2 |
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>
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/reset-ath79.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/reset-ath79.c b/drivers/reset/reset-ath79.c index d2d290413113..9aaf646ece55 100644 --- a/drivers/reset/reset-ath79.c +++ b/drivers/reset/reset-ath79.c @@ -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; |