Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Axel Lin and committed by
Samuel Ortiz
624e26e0 7f849a39

+1 -6
+1 -6
drivers/mfd/pcf50633-irq.c
··· 19 19 #include <linux/slab.h> 20 20 21 21 #include <linux/mfd/pcf50633/core.h> 22 - 23 - /* Two MBCS registers used during cold start */ 24 - #define PCF50633_REG_MBCS1 0x4b 25 - #define PCF50633_REG_MBCS2 0x4c 26 - #define PCF50633_MBCS1_USBPRES 0x01 27 - #define PCF50633_MBCS1_ADAPTPRES 0x01 22 + #include <linux/mfd/pcf50633/mbc.h> 28 23 29 24 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, 30 25 void (*handler) (int, void *), void *data)