Re: [PATCH] pinctrl: ralink: rt305x: add missing include
From: Linus Walleij
Date: Tue Jun 29 2021 - 20:40:17 EST
On Tue, Jun 29, 2021 at 4:34 PM Sergio Paracuellos
<sergio.paracuellos@xxxxxxxxx> wrote:
> Header 'rt305x.h' is ralink architecture dependent file where
> other general definitions which are in 'ralink_regs.h' are
> being used. This 'rt305x.h' is only being included in two
> different files: 'rt305x.c' and 'pinctrl-rt305x.c'. When
> file 'pinctrl-rt305x.c' is being compiled definitions in
> 'ralink_regs.h' are need to build it properly. Hence, add
> missing include 'ralink_regs.h' in 'pinctrl-rt305x.c'
> source to avoid compilation problems.
>
> Fixes: 3a1b0ca5a83b ("pinctrl: ralink: move RT305X SoC pinmux config into a new 'pinctrl-rt305x.c' file")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
Patch applied!
Yours,
Linus Walleij