summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2009-03-31 12:27:21 +0200
committerSamuel Ortiz <samuel@sortiz.org>2009-04-05 00:32:25 +0200
commitfa15ce8ad59e9653d50b8596596cb02d3566d4aa (patch)
tree3e8f67a2b67be3b0936a6ef8d9d56be2f6eec962 /drivers
parent895d9f0f15ff6b2d20bfbdc2b8205d1791437294 (diff)
mfd: fix da903x warning
The da903x interrupt handler is retruning an int instead of an irqreturn_t. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/da903x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c
index 99f8dcfe3d98..7283d88656af 100644
--- a/drivers/mfd/da903x.c
+++ b/drivers/mfd/da903x.c
@@ -413,7 +413,7 @@ static void da903x_irq_work(struct work_struct *work)
enable_irq(chip->client->irq);
}
-static int da903x_irq_handler(int irq, void *data)
+static irqreturn_t da903x_irq_handler(int irq, void *data)
{
struct da903x_chip *chip = data;