We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1797e4 commit df1f679Copy full SHA for df1f679
arch/powerpc/platforms/powermac/low_i2c.c
@@ -582,6 +582,7 @@ static void __init kw_i2c_add(struct pmac_i2c_host_kw *host,
582
bus->close = kw_i2c_close;
583
bus->xfer = kw_i2c_xfer;
584
mutex_init(&bus->mutex);
585
+ lockdep_register_key(&bus->lock_key);
586
lockdep_set_class(&bus->mutex, &bus->lock_key);
587
if (controller == busnode)
588
bus->flags = pmac_i2c_multibus;
0 commit comments