Skip to content

Commit

Permalink
Fix for kernel 6.11 and newer
Browse files Browse the repository at this point in the history
As described in pelrun#28
  • Loading branch information
JonnyTech authored Dec 28, 2024
1 parent 9d1edb1 commit d17c976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hp-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ static int __init hp_wmi_bios_setup(struct platform_device *device)
return err;
}

static int __exit hp_wmi_bios_remove(struct platform_device *device)
static void __exit hp_wmi_bios_remove(struct platform_device *device)
{
int i;
cleanup_sysfs(device);
Expand All @@ -1196,7 +1196,7 @@ static int __exit hp_wmi_bios_remove(struct platform_device *device)
rfkill_destroy(wwan_rfkill);
}

return 0;
// return 0;
}

static int hp_wmi_resume_handler(struct device *device)
Expand Down

0 comments on commit d17c976

Please sign in to comment.