Commit edae0946 authored by Biju Das's avatar Biju Das Committed by Lee Jones

mfd: Add module build support for RZ/G2L MTU3a

Modified Kconfig to enable module build support for RZ/G2L MTU3a driver.
While at it, added module.h header file.
Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230711092841.119161-1-biju.das.jz@bp.renesas.comSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent e10038ce
...@@ -1371,7 +1371,7 @@ config MFD_SC27XX_PMIC ...@@ -1371,7 +1371,7 @@ config MFD_SC27XX_PMIC
and it also adds the irq_chip parts for handling the PMIC chip events. and it also adds the irq_chip parts for handling the PMIC chip events.
config RZ_MTU3 config RZ_MTU3
bool "Renesas RZ/G2L MTU3a core driver" tristate "Renesas RZ/G2L MTU3a core driver"
depends on (ARCH_RZG2L && OF) || COMPILE_TEST depends on (ARCH_RZG2L && OF) || COMPILE_TEST
help help
Select this option to enable Renesas RZ/G2L MTU3a core driver for Select this option to enable Renesas RZ/G2L MTU3a core driver for
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/mfd/core.h> #include <linux/mfd/core.h>
#include <linux/mfd/rz-mtu3.h> #include <linux/mfd/rz-mtu3.h>
#include <linux/module.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/reset.h> #include <linux/reset.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment