diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 17:31:02 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-05-26 13:33:05 +0200 |
commit | ecd2a5769d09e57b6d9cafdbcf91c13f31286b06 (patch) | |
tree | 9b2c262e99bd30dfef59f8a7003a0a951536778a /arch/arm/mach-lpc32xx | |
parent | 5692520a040b7029f0ba94b1128d564f44a68e8d (diff) |
ARM: lpc32xx: add missing include
lpc32xx_loopback_set() is defined in linux/soc/nxp/lpc32xx-misc.h but
this is not included before the function definition.
arch/arm/mach-lpc32xx/serial.c:63:6: error: no previous prototype for 'lpc32xx_loopback_set'
Fixes: ffba29c9ebd0 ("serial: lpc32xx: allow compile testing")
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Link: https://lore.kernel.org/r/20230516153109.514251-7-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-lpc32xx')
-rw-r--r-- | arch/arm/mach-lpc32xx/serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-lpc32xx/serial.c b/arch/arm/mach-lpc32xx/serial.c index 3e765c4bf986..3b1203db81b2 100644 --- a/arch/arm/mach-lpc32xx/serial.c +++ b/arch/arm/mach-lpc32xx/serial.c @@ -15,6 +15,7 @@ #include <linux/serial_8250.h> #include <linux/clk.h> #include <linux/io.h> +#include <linux/soc/nxp/lpc32xx-misc.h> #include "lpc32xx.h" #include "common.h" |