aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index f18261368e76..1e8287b4f40c 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -92,7 +92,7 @@ module_param(bm_history, uint, 0644);
92 * 92 *
93 * To skip this limit, boot/load with a large max_cstate limit. 93 * To skip this limit, boot/load with a large max_cstate limit.
94 */ 94 */
95static int set_max_cstate(struct dmi_system_id *id) 95static int set_max_cstate(const struct dmi_system_id *id)
96{ 96{
97 if (max_cstate > ACPI_PROCESSOR_MAX_POWER) 97 if (max_cstate > ACPI_PROCESSOR_MAX_POWER)
98 return 0; 98 return 0;