Unverified Commit 2b993ab7 authored by André Almeida's avatar André Almeida Committed by Mark Brown
Browse files

spi: amd: Fix building without ACPI enabled

Commit 20904355 ("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: 20904355

 ("spi: amd: Add support for version AMDI0062")
Signed-off-by: default avatarAndré Almeida <andrealmeid@collabora.com>
Link: https://lore.kernel.org/r/20220216162719.116062-1-andrealmeid@collabora.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 47b34f49
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment