Skip to content

Commit f4757d8

Browse files
Robert Richterrafaeljw
authored andcommitted
ACPI: PRM: Fix missing guid_t declaration in linux/prmt.h
Seen the following build error: ./include/linux/prmt.h:5:27: error: unknown type name ‘guid_t’ 5 | int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer); | ^~~~~~ The include file uses guid_t but it is not declared. Include linux/uuid.h to fix this. Signed-off-by: Robert Richter <rrichter@amd.com> Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com> Link: https://patch.msgid.link/20250107161923.3387552-1-rrichter@amd.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 5bc55a3 commit f4757d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/prmt.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* SPDX-License-Identifier: GPL-2.0-only */
22

3+
#include <linux/uuid.h>
4+
35
#ifdef CONFIG_ACPI_PRMT
46
void init_prmt(void);
57
int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer);

0 commit comments

Comments
 (0)