diff options
author | André Almeida <andrealmeid@collabora.com> | 2022-02-16 13:27:19 -0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-16 16:34:25 +0000 |
commit | 2b993ab79b5dc83eb699e747bfac6c04f4f5fc70 (patch) | |
tree | a3eba63410c02c2efe3915e16da81d101a231bd3 /tools/perf/scripts/python/syscall-counts.py | |
parent | 47b34f495b8b75475952f12c521c4c1fc2fa09b4 (diff) |
spi: amd: Fix building without ACPI enabled
Commit 209043554915 ("spi: amd: Add support for version AMDI0062")
removed the cast ACPI_PTR() for no good reason. This wrapper is
important to make sure that the driver can be compiled with or without
CONFIG_ACPI enabled, useful for compiling test. Give back the cast so
compilation works again.
Fixes: 209043554915 ("spi: amd: Add support for version AMDI0062")
Signed-off-by: André Almeida <andrealmeid@collabora.com>
Link: https://lore.kernel.org/r/20220216162719.116062-1-andrealmeid@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions