Provide an implementation of acpi_device_handle that can be used when CONFIG_ACPI is not set. Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx> --- include/linux/acpi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 4d5ee84c468b..85d7649ac17d 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -777,6 +777,7 @@ const char *acpi_get_subsystem_id(acpi_handle handle); #define acpi_disabled 1 +#define acpi_device_handle(adev) (NULL) #define ACPI_COMPANION(dev) (NULL) #define ACPI_COMPANION_SET(dev, adev) do { } while (0) #define ACPI_HANDLE(dev) (NULL) -- 2.47.0.371.ga323438b13-goog