diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-12 10:15:01 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-12 10:15:01 +0300 |
commit | 9219b179bab20563c43aee0c195e1e9304a9deed (patch) | |
tree | 5edc346cb3ec1c2cb0149fd3a5b0d4840ac059c9 /sound | |
parent | 7c626ce4bae1ac14f60076d00eafe71af30450ba (diff) | |
parent | 90ec3a8a7fd0d43026fcca979713e077d4883b56 (diff) | |
download | linux-9219b179bab20563c43aee0c195e1e9304a9deed.tar.xz |
Merge tag 'spi-acpi-lookup-dummy' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into topic/cirrus-hp-g12
spi: Add empty versions of ACPI lookup functions
A patch from Richard Fitzgerald adding dummy versions of the ACPI lookup
functions for SPI:
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.
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions