diff options
author | 2024-08-12 09:15:01 +0200 | |
---|---|---|
committer | 2024-08-12 09:15:01 +0200 | |
commit | 9219b179bab20563c43aee0c195e1e9304a9deed (patch) | |
tree | 5edc346cb3ec1c2cb0149fd3a5b0d4840ac059c9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.11-rc3 (diff) | |
parent | spi: Add empty versions of ACPI functions (diff) | |
download | wireguard-linux-9219b179bab20563c43aee0c195e1e9304a9deed.tar.xz wireguard-linux-9219b179bab20563c43aee0c195e1e9304a9deed.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions