summaryrefslogtreecommitdiff
path: root/drivers/mxc/pmic/core/pmic_core_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mxc/pmic/core/pmic_core_i2c.c')
-rw-r--r--drivers/mxc/pmic/core/pmic_core_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mxc/pmic/core/pmic_core_i2c.c b/drivers/mxc/pmic/core/pmic_core_i2c.c
index 09172b387b0e..0bfad1ac5414 100644
--- a/drivers/mxc/pmic/core/pmic_core_i2c.c
+++ b/drivers/mxc/pmic/core/pmic_core_i2c.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -256,7 +256,7 @@ static int __devinit pmic_probe(struct i2c_client *client,
/* Set and install PMIC IRQ handler */
- set_irq_type(pmic_irq, IRQF_TRIGGER_HIGH);
+ irq_set_irq_type(pmic_irq, IRQF_TRIGGER_HIGH);
ret =
request_irq(pmic_irq, pmic_irq_handler, 0, "PMIC_IRQ",