summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorThomas Gleixner2011-07-17 21:25:03 +0200
committerIngo Molnar2013-02-19 08:42:45 +0100
commiteece09ec213e93333010bf4c6bb9175b32229c54 (patch)
tree4522e9f64468397499b80428307b68bf163d4c90 /drivers/usb
parentlockdep: Print more info when MAX_LOCK_DEPTH is exceeded (diff)
downloadkernel-qcow2-linux-eece09ec213e93333010bf4c6bb9175b32229c54.tar.gz
kernel-qcow2-linux-eece09ec213e93333010bf4c6bb9175b32229c54.tar.xz
kernel-qcow2-linux-eece09ec213e93333010bf4c6bb9175b32229c54.zip
locking: Various static lock initializer fixes
The static lock initializers want to be fed the proper name of the lock and not some random string. In mainline random strings are obfuscating the readability of debug output, but for RT they prevent the spinlock substitution. Fix it up. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/chipidea/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index 3bc244d2636a..a62c4a47d52c 100644
--- a/drivers/usb/chipidea/debug.c
+++ b/drivers/usb/chipidea/debug.c
@@ -222,7 +222,7 @@ static struct {
} dbg_data = {
.idx = 0,
.tty = 0,
- .lck = __RW_LOCK_UNLOCKED(lck)
+ .lck = __RW_LOCK_UNLOCKED(dbg_data.lck)
};
/**