diff options
Diffstat (limited to 'drivers/acpi/fan.c')
-rw-r--r-- | drivers/acpi/fan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index 8d1c0105e113..5b02a0aa540c 100644 --- a/drivers/acpi/fan.c +++ b/drivers/acpi/fan.c | |||
@@ -84,7 +84,7 @@ static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long | |||
84 | { | 84 | { |
85 | struct acpi_device *device = cdev->devdata; | 85 | struct acpi_device *device = cdev->devdata; |
86 | int result; | 86 | int result; |
87 | int acpi_state; | 87 | int acpi_state = ACPI_STATE_D0; |
88 | 88 | ||
89 | if (!device) | 89 | if (!device) |
90 | return -EINVAL; | 90 | return -EINVAL; |