summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/akita-ioexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/akita-ioexp.c')
-rw-r--r--arch/arm/mach-pxa/akita-ioexp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/akita-ioexp.c b/arch/arm/mach-pxa/akita-ioexp.c
index b6bff55..6f7b965 100644
--- a/arch/arm/mach-pxa/akita-ioexp.c
+++ b/arch/arm/mach-pxa/akita-ioexp.c
@@ -124,8 +124,10 @@ static int max7310_detach_client(struct i2c_client *client)
}
static struct i2c_driver max7310_i2c_driver = {
- .owner = THIS_MODULE,
- .name = "akita-max7310",
+ .driver = {
+ .owner = THIS_MODULE,
+ .name = "akita-max7310",
+ },
.id = I2C_DRIVERID_AKITAIOEXP,
.attach_adapter = max7310_attach_adapter,
.detach_client = max7310_detach_client,
OpenPOWER on IntegriCloud