[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241122-fix-ipu-v2-4-bba65856e9ff@chromium.org>
Date: Fri, 22 Nov 2024 09:48:01 +0000
From: Ricardo Ribalda <ribalda@...omium.org>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>,
Robert Moore <robert.moore@...el.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
Cc: Sakari Ailus <sakari.ailus@...ux.intel.com>,
Dan Carpenter <dan.carpenter@...aro.org>, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
acpica-devel@...ts.linux.dev, Ricardo Ribalda <ribalda@...omium.org>
Subject: [PATCH v2 4/7] ACPI: header: implement acpi_device_handle when
!ACPI
Provide an implementation of acpi_device_handle that can be used when
CONFIG_ACPI is not set.
Signed-off-by: Ricardo Ribalda <ribalda@...omium.org>
---
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
Powered by blists - more mailing lists