mfd: Include linux/mfd/pcf50633/mbc.h in pcf50633-irq.c
authorAxel Lin <axel.lin@gmail.com>
Sat, 25 Feb 2012 03:37:53 +0000 (11:37 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:51 +0000 (18:46 +0100)
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>
drivers/mfd/pcf50633-irq.c

index 048a3b903b013bcb5a0efb62c303e76c02ab1056..498286cbb5300d31f160b693e0f1d85ec254041f 100644 (file)
 #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)