]> Git Repo - J-linux.git/commitdiff
pinctrl: ralink: rt305x: add missing include
authorSergio Paracuellos <[email protected]>
Tue, 29 Jun 2021 14:34:07 +0000 (16:34 +0200)
committerLinus Walleij <[email protected]>
Wed, 30 Jun 2021 00:38:56 +0000 (02:38 +0200)
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 <[email protected]>
Signed-off-by: Sergio Paracuellos <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
drivers/pinctrl/ralink/pinctrl-rt305x.c

index 699fe18e7000135c4c675f92a0ac524c6b0f6e0f..5d8fa156c0037be21c6b8c8ccf21a2492d61ae8a 100644 (file)
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
+#include <asm/mach-ralink/ralink_regs.h>
 #include <asm/mach-ralink/rt305x.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
This page took 0.054021 seconds and 4 git commands to generate.