recalbox / mk_arcade_joystick_rpi

Raspberry PI kernel module for arcade joystick on GPIO and MCP23017
GNU General Public License v2.0
200 stars 120 forks source link

Fix compilation on Linux Kernel versions > 4.15 #72

Open tssajo opened 5 years ago

tssajo commented 5 years ago

Simple:

Fix compilation on Linux Kernel versions > 4.15

ghost commented 5 years ago

I have had the same problem and came up with an almost identical fix. Only difference is that I look for version 4.14 which is when it looks like timer_setup was added... https://lwn.net/Articles/735887/ I may be wrong as I don't have a copy of 4.14 around to test with and don't really have the time to check, I am just going to use this moving forward.

Gemba commented 5 years ago

@tssajo Nice. Thanks. Hope this get's applied soon in the master.

nekuneko commented 4 years ago

Thank you very much @tssajo !!