mkottman / acpi_call

A linux kernel module that enables calls to ACPI methods through /proc/acpi/call. Now with support for Integer, String and Buffer parameters.
309 stars 130 forks source link

Use proc_ops instead of file_operations on Linux >= 5.6 #88

Open vikmik opened 4 years ago

vikmik commented 4 years ago

The proc_create API is changing in Linux 5.6, update code accordingly See https://github.com/torvalds/linux/commit/d56c0d45f0e27f814e87a1676b6bdccccbc252e9

Since 5.6.0 is not released yet (currently 5.6-rc5), there's still a tiny chance this won't be needed.

I tested a recalibrate on 5.6-rc5

Mic92 commented 4 years ago

Added in https://github.com/nix-community/acpi_call/commit/e34e3b82633bd94347b71fe6735041275ec97b8a