Message ID | 20230711092841.119161-1-biju.das.jz@bp.renesas.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | [v2] mfd: Add module build support for RZ/G2L MTU3a | expand |
On Tue, 11 Jul 2023, Biju Das wrote: > Modified Kconfig to enable module build support for RZ/G2L MTU3a driver. > While at it, added module.h header file. > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > v1->v2: > * Added Rb tag from Geert. > * Added module.h header file and updated commit description > * Retained Rb tag as the change is trivail. > --- > drivers/mfd/Kconfig | 2 +- > drivers/mfd/rz-mtu3.c | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) Applied, thanks
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 6f5b259a6d6a..fb02a2913d46 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1348,7 +1348,7 @@ config MFD_SC27XX_PMIC and it also adds the irq_chip parts for handling the PMIC chip events. config RZ_MTU3 - bool "Renesas RZ/G2L MTU3a core driver" + tristate "Renesas RZ/G2L MTU3a core driver" depends on (ARCH_RZG2L && OF) || COMPILE_TEST help Select this option to enable Renesas RZ/G2L MTU3a core driver for diff --git a/drivers/mfd/rz-mtu3.c b/drivers/mfd/rz-mtu3.c index 04006f4aa702..037956f0254b 100644 --- a/drivers/mfd/rz-mtu3.c +++ b/drivers/mfd/rz-mtu3.c @@ -11,6 +11,7 @@ #include <linux/irq.h> #include <linux/mfd/core.h> #include <linux/mfd/rz-mtu3.h> +#include <linux/module.h> #include <linux/of_platform.h> #include <linux/reset.h> #include <linux/spinlock.h>