diff options
| author | Eric Anholt <[email protected]> | 2017-04-28 01:02:32 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2017-05-19 08:42:25 +0000 |
| commit | fedf266f9955d9a019643cde199a2fd9a0259f6f (patch) | |
| tree | c3900d461bcceb71ba22ce130e31dbe7e4001c84 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | watchdog: zx2967: remove redundant dev_err call in zx2967_wdt_probe() (diff) | |
| download | kernel-fedf266f9955d9a019643cde199a2fd9a0259f6f.tar.gz kernel-fedf266f9955d9a019643cde199a2fd9a0259f6f.zip | |
watchdog: bcm281xx: Fix use of uninitialized spinlock.
The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so
initialize it earlier. Fixes a warning at boot with lock debugging
enabled.
Fixes: 6adb730dc208 ("watchdog: bcm281xx: Watchdog Driver")
Signed-off-by: Eric Anholt <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
