Skip to content

Commit c1264b6

Browse files
Bjoern A. ZeebBjoern A. Zeeb
authored andcommitted
LinuxKPI: acpi; fix type to acpi_get_handle()
The native AcpiGetHandle() and acpi_get_handle() take a const char * argument for pathname and not an acpi_string (char *). For that they spell it out fully as 'const char *', so should we. Sponsored by: The FreeBSD Foundation (intially) MFC after: 3 days Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D52072
1 parent 736b16e commit c1264b6

File tree

1 file changed

+1
-1
lines changed
  • sys/compat/linuxkpi/common/include/acpi

1 file changed

+1
-1
lines changed

sys/compat/linuxkpi/common/include/acpi/acpi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ acpi_format_exception(ACPI_STATUS Exception)
131131
}
132132

133133
static inline ACPI_STATUS
134-
acpi_get_handle(ACPI_HANDLE Parent, ACPI_STRING Pathname,
134+
acpi_get_handle(ACPI_HANDLE Parent, const char *Pathname,
135135
ACPI_HANDLE *RetHandle)
136136
{
137137
return (AcpiGetHandle(Parent, Pathname, RetHandle));

0 commit comments

Comments
 (0)