* [PATCH v2] mfd: Add module build support for RZ/G2L MTU3a
@ 2023-07-11 9:28 Biju Das
2023-07-13 14:56 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Biju Das @ 2023-07-11 9:28 UTC (permalink / raw)
To: Lee Jones
Cc: Biju Das, Geert Uytterhoeven, Prabhakar Mahadev Lad, linux-renesas-soc
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(-)
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>
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] mfd: Add module build support for RZ/G2L MTU3a
2023-07-11 9:28 [PATCH v2] mfd: Add module build support for RZ/G2L MTU3a Biju Das
@ 2023-07-13 14:56 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2023-07-13 14:56 UTC (permalink / raw)
To: Biju Das; +Cc: Geert Uytterhoeven, Prabhakar Mahadev Lad, linux-renesas-soc
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
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-13 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11 9:28 [PATCH v2] mfd: Add module build support for RZ/G2L MTU3a Biju Das
2023-07-13 14:56 ` Lee Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.