Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Mon, 13 Mar 2023 15:06:02 +0100 | Subject | Re: [PATCH 2/2] soc: renesas: pwc-rzv2m: drop of_match_ptr for ID table |
| |
Hi Krzysztof,
Thanks for your patch!
On Sun, Mar 12, 2023 at 2:26 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it might not be relevant here). This > also fixes !CONFIG_OF error:
Only seen with W=1.
> drivers/soc/renesas/pwc-rzv2m.c:124:34: error: ‘rzv2m_pwc_of_match’ defined but not used [-Werror=unused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in renesas-devel for v6.4.
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
| |