Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23258
b: refs/heads/master
c: d7d2fe3
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Mar 23, 2006
1 parent db03614 commit 53a910e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0cbcb4d39a83d4df7e45c13b5ebd9fe73e025237
refs/heads/master: d7d2fe384703f3f57dac94e8e6303a9f0d9a6239
4 changes: 1 addition & 3 deletions trunk/drivers/i2c/busses/i2c-amd756-s4882.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static struct i2c_adapter *s4882_adapter;
static struct i2c_algorithm *s4882_algo;

/* Wrapper access functions for multiplexed SMBus */
static struct mutex amd756_lock;
static DEFINE_MUTEX(amd756_lock);

static s32 amd756_access_virt0(struct i2c_adapter * adap, u16 addr,
unsigned short flags, char read_write,
Expand Down Expand Up @@ -167,8 +167,6 @@ static int __init amd756_s4882_init(void)
}

printk(KERN_INFO "Enabling SMBus multiplexing for Tyan S4882\n");
mutex_init(&amd756_lock);

/* Define the 5 virtual adapters and algorithms structures */
if (!(s4882_adapter = kzalloc(5 * sizeof(struct i2c_adapter),
GFP_KERNEL))) {
Expand Down

0 comments on commit 53a910e

Please sign in to comment.