]> git.itanic.dy.fi Git - linux-stable/commit
pinctrl: ralink: rt305x: add missing include
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 29 Jun 2021 14:34:07 +0000 (16:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Jun 2021 00:38:56 +0000 (02:38 +0200)
commitbfa50166cd9d5d190b20dc33d1ec7ae19ced7022
treed28a24ee32ea04d303d76ea382f72ad1569272dc
parentdb0f032512443678d30aa26c247099220e3e5aee
pinctrl: ralink: rt305x: add missing include

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@intel.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210629143407.14703-1-sergio.paracuellos@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/ralink/pinctrl-rt305x.c