Loading drivers/mfd/mt6397-core.c +3 −10 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ */ #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/module.h> #include <linux/of_device.h> #include <linux/of_irq.h> Loading @@ -19,16 +20,8 @@ #define MT6397_RTC_SIZE 0x3e static const struct resource mt6397_rtc_resources[] = { { .start = MT6397_RTC_BASE, .end = MT6397_RTC_BASE + MT6397_RTC_SIZE, .flags = IORESOURCE_MEM, }, { .start = MT6397_IRQ_RTC, .end = MT6397_IRQ_RTC, .flags = IORESOURCE_IRQ, }, DEFINE_RES_MEM(MT6397_RTC_BASE, MT6397_RTC_SIZE), DEFINE_RES_IRQ(MT6397_IRQ_RTC), }; static const struct resource mt6323_keys_resources[] = { Loading Loading
drivers/mfd/mt6397-core.c +3 −10 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ */ #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/module.h> #include <linux/of_device.h> #include <linux/of_irq.h> Loading @@ -19,16 +20,8 @@ #define MT6397_RTC_SIZE 0x3e static const struct resource mt6397_rtc_resources[] = { { .start = MT6397_RTC_BASE, .end = MT6397_RTC_BASE + MT6397_RTC_SIZE, .flags = IORESOURCE_MEM, }, { .start = MT6397_IRQ_RTC, .end = MT6397_IRQ_RTC, .flags = IORESOURCE_IRQ, }, DEFINE_RES_MEM(MT6397_RTC_BASE, MT6397_RTC_SIZE), DEFINE_RES_IRQ(MT6397_IRQ_RTC), }; static const struct resource mt6323_keys_resources[] = { Loading