History

Merge branch 'fixes' into for-next

Resolve conflicts in dell/alienware-wmi-wmax and asus-wmi, and enable applying a few amd/hsmp patches that depend on changes in the fixes branch.

Ilpo Järvinen committed 1 year ago

Commit 593ee932 parents f94ffc3 bfcfe6d25 files · +366 −113Browse files

Showing the changes to include/linux/platform_data (1 of 25 files). Show all

Unified · Split

include/linux/platform_data/x86/intel_pmc_ipc.h+4−0
@@ -36,6 +36,7 @@ struct pmc_ipc_rbuf { · 35 unmodified lines
3636 */
3737 static inline int intel_pmc_ipc(struct pmc_ipc_cmd *ipc_cmd, struct pmc_ipc_rbuf *rbuf)
3838 {
39+#ifdef CONFIG_ACPI
3940 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
4041 union acpi_object params[PMC_IPCS_PARAM_COUNT] = {
4142 {.type = ACPI_TYPE_INTEGER,},
@@ -89,6 +90,9 @@ static inline int intel_pmc_ipc(struct pmc_ipc_cmd *ipc_cmd, struct pmc_ipc_rbuf · 47 unmodified lines
8990 }
9091
9192 return 0;
93+#else
94+ return -ENODEV;
95+#endif /* CONFIG_ACPI */
9296 }
9397
9498 #endif /* INTEL_PMC_IPC_H */