mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: renesas: rzv2h: Add missing include file
@ 2025-06-24 19:27 Fabrizio Castro
  2025-06-26 12:44 ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrizio Castro @ 2025-06-24 19:27 UTC (permalink / raw)
  To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd
  Cc: Fabrizio Castro, linux-renesas-soc, linux-clk, linux-kernel,
	Biju Das, Lad Prabhakar

File `rzv2h-cpg.h` makes use of data types defined in `types.h`,
but it's not including it, which could translate to build errors.

Include `types.h` to fix this problem.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
---
 drivers/clk/renesas/rzv2h-cpg.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/rzv2h-cpg.h b/drivers/clk/renesas/rzv2h-cpg.h
index 7321b085f937..25e0a9e5761b 100644
--- a/drivers/clk/renesas/rzv2h-cpg.h
+++ b/drivers/clk/renesas/rzv2h-cpg.h
@@ -9,6 +9,7 @@
 #define __RENESAS_RZV2H_CPG_H__
 
 #include <linux/bitfield.h>
+#include <linux/types.h>
 
 /**
  * struct pll - Structure for PLL configuration
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: renesas: rzv2h: Add missing include file
  2025-06-24 19:27 [PATCH] clk: renesas: rzv2h: Add missing include file Fabrizio Castro
@ 2025-06-26 12:44 ` Geert Uytterhoeven
  2025-06-26 12:56   ` Fabrizio Castro
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2025-06-26 12:44 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Michael Turquette, Stephen Boyd, linux-renesas-soc, linux-clk,
	linux-kernel, Biju Das, Lad Prabhakar

Hi Fabrizio,

Thanks for your patch!

On Tue, 24 Jun 2025 at 21:28, Fabrizio Castro
<fabrizio.castro.jz@renesas.com> wrote:
> File `rzv2h-cpg.h` makes use of data types defined in `types.h`,
> but it's not including it, which could translate to build errors.
>
> Include `types.h` to fix this problem.

linux/types.h.

> Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-clk for v6.17, with the above fixed.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] clk: renesas: rzv2h: Add missing include file
  2025-06-26 12:44 ` Geert Uytterhoeven
@ 2025-06-26 12:56   ` Fabrizio Castro
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrizio Castro @ 2025-06-26 12:56 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Michael Turquette, Stephen Boyd, linux-renesas-soc, linux-clk,
	linux-kernel, Biju Das, Prabhakar Mahadev Lad

Hi Geert,

> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 26 June 2025 13:45
> To: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
> Subject: Re: [PATCH] clk: renesas: rzv2h: Add missing include file
> 
> Hi Fabrizio,
> 
> Thanks for your patch!
> 
> On Tue, 24 Jun 2025 at 21:28, Fabrizio Castro
> <fabrizio.castro.jz@renesas.com> wrote:
> > File `rzv2h-cpg.h` makes use of data types defined in `types.h`,
> > but it's not including it, which could translate to build errors.
> >
> > Include `types.h` to fix this problem.
> 
> linux/types.h.
> 
> > Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> i.e. will queue in renesas-clk for v6.17, with the above fixed.

Thanks for fixing.

Cheers,
Fab

> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-26 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-24 19:27 [PATCH] clk: renesas: rzv2h: Add missing include file Fabrizio Castro
2025-06-26 12:44 ` Geert Uytterhoeven
2025-06-26 12:56   ` Fabrizio Castro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®