diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 18:25:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 18:25:08 -0500 |
commit | 0feb9bfcfa3f9bf67a4a1e3f2608700ad73f92ed (patch) | |
tree | 22c71657387b42787bc070502899a881ed909f39 /arch | |
parent | d8d8f6a4fd635dcc9e4f946394c1fbde85eeab66 (diff) | |
parent | ccf18968b1bbc2fb117190a1984ac2a826dac228 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/akita-ioexp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/akita-ioexp.c b/arch/arm/mach-pxa/akita-ioexp.c index f6d73cc01f78..1b398742ab56 100644 --- a/arch/arm/mach-pxa/akita-ioexp.c +++ b/arch/arm/mach-pxa/akita-ioexp.c | |||
@@ -124,17 +124,16 @@ static int max7310_detach_client(struct i2c_client *client) | |||
124 | } | 124 | } |
125 | 125 | ||
126 | static struct i2c_driver max7310_i2c_driver = { | 126 | static struct i2c_driver max7310_i2c_driver = { |
127 | .owner = THIS_MODULE, | 127 | .driver = { |
128 | .name = "akita-max7310", | 128 | .name = "akita-max7310", |
129 | }, | ||
129 | .id = I2C_DRIVERID_AKITAIOEXP, | 130 | .id = I2C_DRIVERID_AKITAIOEXP, |
130 | .flags = I2C_DF_NOTIFY, | ||
131 | .attach_adapter = max7310_attach_adapter, | 131 | .attach_adapter = max7310_attach_adapter, |
132 | .detach_client = max7310_detach_client, | 132 | .detach_client = max7310_detach_client, |
133 | }; | 133 | }; |
134 | 134 | ||
135 | static struct i2c_client max7310_template = { | 135 | static struct i2c_client max7310_template = { |
136 | name: "akita-max7310", | 136 | name: "akita-max7310", |
137 | flags: I2C_CLIENT_ALLOW_USE, | ||
138 | driver: &max7310_i2c_driver, | 137 | driver: &max7310_i2c_driver, |
139 | }; | 138 | }; |
140 | 139 | ||