spi: xilinx: Add necessary inclusion and forward declaration
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Mar 2024 16:27:47 +0000 (18:27 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2024 00:49:09 +0000 (00:49 +0000)
xilinx_spi.h is mnissing inclusion and forward declaration, add them.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://msgid.link/r/20240308162920.46816-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/xilinx_spi.h

index fd6add419e94872ef6ba38a30e5e111f64b31e30..4ba8f53ce57013eb86a3a4951817f298990cc5fe 100644 (file)
@@ -2,6 +2,10 @@
 #ifndef __LINUX_SPI_XILINX_SPI_H
 #define __LINUX_SPI_XILINX_SPI_H
 
+#include <linux/types.h>
+
+struct spi_board_info;
+
 /**
  * struct xspi_platform_data - Platform data of the Xilinx SPI driver
  * @num_chipselect:    Number of chip select by the IP.