Skip to content

Commit 7d3707b

Browse files
ribaldarafaeljw
authored andcommitted
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. Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Link: https://patch.msgid.link/20241216-fix-ipu-v5-4-3d6b35ddce7b@chromium.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 34df773 commit 7d3707b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/linux/acpi.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,11 @@ static inline struct fwnode_handle *acpi_fwnode_handle(struct acpi_device *adev)
854854
return NULL;
855855
}
856856

857+
static inline acpi_handle acpi_device_handle(struct acpi_device *adev)
858+
{
859+
return NULL;
860+
}
861+
857862
static inline bool has_acpi_companion(struct device *dev)
858863
{
859864
return false;

0 commit comments

Comments
 (0)