diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 21:25:03 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-02-19 08:42:45 +0100 |
commit | eece09ec213e93333010bf4c6bb9175b32229c54 (patch) | |
tree | 4522e9f64468397499b80428307b68bf163d4c90 /drivers/usb/chipidea/debug.c | |
parent | c0540606837af79b2ae101e5e7b2206e3844d150 (diff) | |
download | linux-eece09ec213e93333010bf4c6bb9175b32229c54.tar.bz2 |
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/chipidea/debug.c')
-rw-r--r-- | drivers/usb/chipidea/debug.c | 2 |
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) }; /** |