mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
ACPI: adjust decl of acpi_set_pdc_bits()
The commit referenced below changed the type of the first parameter.
Misra C:2012 Rule 8.3 requires the declaration to follow suit.
Fixes: bf0cd071db ("xen/pmstat: consolidate code into pmstat.c")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
This commit is contained in:
1 parent
69c8303173
commit
657a95a2ba
1 file changed
+1
-1
@@ -186,7 +186,7 @@ static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; }
|
||||
#endif
|
||||
|
||||
#ifdef XEN_GUEST_HANDLE
|
||||
int acpi_set_pdc_bits(uint32_t acpi_id, XEN_GUEST_HANDLE(uint32));
|
||||
int acpi_set_pdc_bits(unsigned int acpi_id, XEN_GUEST_HANDLE(uint32));
|
||||
#endif
|
||||
int arch_acpi_set_pdc_bits(u32 acpi_id, u32 *, u32 mask);
|
||||
|
||||
|
||||