diff options
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
-rw-r--r-- | drivers/i2c/i2c-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c index ccd76c71af09..3f7b9af11137 100644 --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c | |||
@@ -52,7 +52,7 @@ struct i2c_dev { | |||
52 | struct cdev cdev; | 52 | struct cdev cdev; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | #define I2C_MINORS MINORMASK | 55 | #define I2C_MINORS (MINORMASK + 1) |
56 | static LIST_HEAD(i2c_dev_list); | 56 | static LIST_HEAD(i2c_dev_list); |
57 | static DEFINE_SPINLOCK(i2c_dev_list_lock); | 57 | static DEFINE_SPINLOCK(i2c_dev_list_lock); |
58 | 58 | ||