From: Axel Lin Date: Sat, 25 Feb 2012 03:37:53 +0000 (+0800) Subject: mfd: Include linux/mfd/pcf50633/mbc.h in pcf50633-irq.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=624e26e0209015718abbd63a402efba02628fec0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/pcf50633-irq.c b/drivers/mfd/pcf50633-irq.c index 048a3b903b01..498286cbb530 100644 --- a/drivers/mfd/pcf50633-irq.c +++ b/drivers/mfd/pcf50633-irq.c @@ -19,12 +19,7 @@ #include #include - -/* 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 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, void (*handler) (int, void *), void *data)