mirror_ubuntu-kernels/include/linux/spi
Richard Fitzgerald 90ec3a8a7f
spi: Add empty versions of ACPI functions
Provide empty versions of acpi_spi_count_resources(),
acpi_spi_device_alloc() and acpi_spi_find_controller_by_adev()
if the real functions are not being built.

This commit fixes two problems with the original definitions:

1) There wasn't an empty version of these functions
2) The #if only depended on CONFIG_ACPI. But the functions are implemented
   in the core spi.c so CONFIG_SPI_MASTER must also be enabled for the real
   functions to exist.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20240802152215.20831-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-08-02 18:51:59 +01:00
..
ad7877.h
ads7846.h
altera.h
at73c213.h
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
libertas_spi.h
max7301.h
mc33880.h
mmc_spi.h
mxs-spi.h
sh_hspi.h
sh_msiof.h
spi_bitbang.h spi: bitbang: Replace hard coded number of SPI modes 2024-05-27 01:33:24 +01:00
spi_gpio.h spi: gpio: Follow renaming of SPI "master" to "controller" 2024-02-09 17:26:34 +00:00
spi_oc_tiny.h
spi-fsl-dspi.h
spi-mem.h
spi.h spi: Add empty versions of ACPI functions 2024-08-02 18:51:59 +01:00
tdo24m.h
tle62x0.h
xilinx_spi.h spi: xilinx: Make num_chipselect 8-bit in the struct xspi_platform_data 2024-03-25 00:49:10 +00:00