summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2024-08-02 18:22:13 +0300
committerMark Brown <broonie@kernel.org>2024-08-02 20:51:59 +0300
commit90ec3a8a7fd0d43026fcca979713e077d4883b56 (patch)
tree020371cdede80fb4d0eada6ff2d72df3de9cbfb1 /tools/perf/scripts/python/exported-sql-viewer.py
parenta0c04bd55a467aee3eb647555343ad6971106e86 (diff)
downloadlinux-90ec3a8a7fd0d43026fcca979713e077d4883b56.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions