Message ID | 20240308162920.46816-3-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | spi: xilinx: Massage xilinx_spi.h | expand |
On 3/8/24 17:27, Andy Shevchenko wrote: > xilinx_spi.h is mnissing inclusion and forward declaration, add them. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- > include/linux/spi/xilinx_spi.h | 4 ++++ > 1 file changed, 4 insertions(+) > > 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. Acked-by: Michal Simek <michal.simek@amd.com> Thanks, Michal
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.
xilinx_spi.h is mnissing inclusion and forward declaration, add them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- include/linux/spi/xilinx_spi.h | 4 ++++ 1 file changed, 4 insertions(+)