JafarAkhondali / acer-predator-turbo-and-rgb-keyboard-linux-module

Linux kernel module to support Turbo mode and RGB Keyboard for Acer Predator notebook series
GNU General Public License v3.0
342 stars 59 forks source link

Check Linux version to determine adding const or not #88

Closed HollowMan6 closed 1 year ago

HollowMan6 commented 1 year ago

There should be a better fix for #85!

Further address of #86 to be compatible to old Linux versions.

kernel 6.2.x introduces this commit: https://lore.kernel.org/all/20221123122523.1332370-2-gregkh@linuxfoundation.org/ , so we can check the linux version to determine the function signature.