summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-08 18:27:47 +0200
committerMark Brown <broonie@kernel.org>2024-03-25 00:49:09 +0000
commit8f40647d87610ecff6637d673024fe7bd045c913 (patch)
tree10fce66346c05c168c5a510c5fd4a34fab41e14d /include/linux/spi
parentd650d1c46d8471bf8ebf556629ac13077f13e647 (diff)
downloadlinux-stable-8f40647d87610ecff6637d673024fe7bd045c913.tar.gz
linux-stable-8f40647d87610ecff6637d673024fe7bd045c913.tar.bz2
linux-stable-8f40647d87610ecff6637d673024fe7bd045c913.zip
spi: xilinx: Add necessary inclusion and forward declaration
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>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/xilinx_spi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/spi/xilinx_spi.h b/include/linux/spi/xilinx_spi.h
index fd6add419e94..4ba8f53ce570 100644
--- a/include/linux/spi/xilinx_spi.h
+++ b/include/linux/spi/xilinx_spi.h
@@ -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.