Commit 25c68a33 authored by Len Brown's avatar Len Brown

ACPI: ibm_acpi: respond to workqueue update

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 6bfe5c9d
...@@ -1825,9 +1825,9 @@ static enum fan_control_commands fan_control_commands; ...@@ -1825,9 +1825,9 @@ static enum fan_control_commands fan_control_commands;
static int fan_control_status_known; static int fan_control_status_known;
static u8 fan_control_initial_status; static u8 fan_control_initial_status;
static void fan_watchdog_fire(void *ignored); static void fan_watchdog_fire(struct work_struct *ignored);
static int fan_watchdog_maxinterval; static int fan_watchdog_maxinterval;
static DECLARE_WORK(fan_watchdog_task, fan_watchdog_fire, NULL); static DECLARE_DELAYED_WORK(fan_watchdog_task, fan_watchdog_fire);
static int fan_init(void) static int fan_init(void)
{ {
...@@ -2284,7 +2284,7 @@ static int fan_write(char *buf) ...@@ -2284,7 +2284,7 @@ static int fan_write(char *buf)
return rc; return rc;
} }
static void fan_watchdog_fire(void *ignored) static void fan_watchdog_fire(struct work_struct *ignored)
{ {
printk(IBM_NOTICE "fan watchdog: enabling fan\n"); printk(IBM_NOTICE "fan watchdog: enabling fan\n");
if (fan_set_enable()) { if (fan_set_enable()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment