aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2010-06-17 14:41:04 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:38 -0600
commitdecca87d7da6bc18f577bd67a175e949728ec610 (patch)
treee1fd7132cff2add433cd8aca56d81965469f98ba
parent738ce4999c0dd975400792cf6324bd59381fc424 (diff)
ab3550: fix build error with v2.6.34
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ie7ec8537e4a5090b262832a42bc5f303f68d7fae Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2430 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rwxr-xr-xdrivers/mfd/ab3550-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/ab3550-core.c b/drivers/mfd/ab3550-core.c
index 94e67abd321..fc2cca05c33 100755
--- a/drivers/mfd/ab3550-core.c
+++ b/drivers/mfd/ab3550-core.c
@@ -1381,8 +1381,10 @@ static int __init ab3550_probe(struct i2c_client *client,
if (err)
goto exit_no_setup;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
INIT_WORK(&ab->irq_work, ab3550_irq_work);
INIT_WORK(&ab->mask_work, ab3550_mask_work);
+#endif
for (i = 0; i < ab3550_plf_data->irq.count; i++) {
unsigned int irq;