Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: amd: Fix building without ACPI enabled
Commit 2090435 ("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: 2090435 ("spi: amd: Add support for version AMDI0062") Signed-off-by: André Almeida <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
- Loading branch information