Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
arch/arm/mach-lpc32xx/serial.c
··· 15 15 #include <linux/serial_8250.h> 16 16 #include <linux/clk.h> 17 17 #include <linux/io.h> 18 + #include <linux/soc/nxp/lpc32xx-misc.h> 18 19 19 20 #include "lpc32xx.h" 20 21 #include "common.h"