aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2009-10-07 00:21:20 +0400
committerLars-Peter Clausen <lars@metafoo.de>2009-12-06 09:09:19 +0100
commitaa5c34c1c24e6331e57197eb92c9804585b276d0 (patch)
tree5d21d37dad08ab93122581a3c4e928fe1d001d36
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
mfd: pcf50633: use set_irq_handler before requesting irq
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
-rw-r--r--drivers/mfd/pcf50633-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
index d26d7747175..dfec7c64689 100644
--- a/drivers/mfd/pcf50633-core.c
+++ b/drivers/mfd/pcf50633-core.c
@@ -626,6 +626,7 @@ static int __devinit pcf50633_probe(struct i2c_client *client,
}
if (client->irq) {
+ set_irq_handler(client->irq, handle_level_irq);
ret = request_irq(client->irq, pcf50633_irq,
IRQF_TRIGGER_LOW, "pcf50633", pcf);