summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-25 11:37:53 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-06 18:46:51 +0100
commit624e26e0209015718abbd63a402efba02628fec0 (patch)
treeebdbb779c20f3b0d3c77ce294bb94cb15918ffe9 /drivers/mfd
parent7f849a39eed81aef0ba36a7170a6c58056cf625a (diff)
downloadop-kernel-dev-624e26e0209015718abbd63a402efba02628fec0.zip
op-kernel-dev-624e26e0209015718abbd63a402efba02628fec0.tar.gz
mfd: Include linux/mfd/pcf50633/mbc.h in pcf50633-irq.c
Include linux/mfd/pcf50633/mbc.h instead of duplicating the same defines. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/pcf50633-irq.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mfd/pcf50633-irq.c b/drivers/mfd/pcf50633-irq.c
index 048a3b9..498286c 100644
--- a/drivers/mfd/pcf50633-irq.c
+++ b/drivers/mfd/pcf50633-irq.c
@@ -19,12 +19,7 @@
#include <linux/slab.h>
#include <linux/mfd/pcf50633/core.h>
-
-/* Two MBCS registers used during cold start */
-#define PCF50633_REG_MBCS1 0x4b
-#define PCF50633_REG_MBCS2 0x4c
-#define PCF50633_MBCS1_USBPRES 0x01
-#define PCF50633_MBCS1_ADAPTPRES 0x01
+#include <linux/mfd/pcf50633/mbc.h>
int pcf50633_register_irq(struct pcf50633 *pcf, int irq,
void (*handler) (int, void *), void *data)
OpenPOWER on IntegriCloud