diff options
author | Zhou Jingyu <b02241@freescale.com> | 2011-01-05 10:03:43 +0800 |
---|---|---|
committer | Zhou Jingyu <b02241@freescale.com> | 2011-01-05 18:50:22 +0800 |
commit | 0a3cc301aa09e63a33686fa7056c8e2029a057ff (patch) | |
tree | 508b26d38d985cae3599b6484beb0fc30bc38325 /drivers/mfd/da9052-i2c.c | |
parent | f8996407dfc058ca62068ff25e00905a992770ed (diff) |
ENGR00137556-2 porting da9053 pmic driver
porting da9053 pmic driver
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
Diffstat (limited to 'drivers/mfd/da9052-i2c.c')
-rw-r--r-- | drivers/mfd/da9052-i2c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c index 5828b6db4585..4f050896d962 100644 --- a/drivers/mfd/da9052-i2c.c +++ b/drivers/mfd/da9052-i2c.c @@ -63,6 +63,7 @@ static int __devinit da9052_i2c_probe(struct i2c_client *client, /* Store handle to i2c client */ da9052_i2c->i2c_client = client; + da9052_i2c->irq = client->irq; da9052_i2c->dev = &client->dev; @@ -362,7 +363,7 @@ static int __init da9052_i2c_init(void) } return 0; } -module_init(da9052_i2c_init); +subsys_initcall(da9052_i2c_init); static void __exit da9052_i2c_exit(void) { |