Commit b929b515 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] make i2c-core driver_lock static

From:  Muli Ben-Yehuda <mulix@mulix.org>

  The i2c driver_lock is needlessly exported.
  This makes it static.
parent 47c8fa5c
......@@ -57,7 +57,7 @@
/**** lock for writing to global variables: the adapter & driver list */
DECLARE_MUTEX(adap_lock);
DECLARE_MUTEX(driver_lock);
static DECLARE_MUTEX(driver_lock);
/**** adapter list */
static struct i2c_adapter *adapters[I2C_ADAP_MAX];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment