Hi,
Thanks for you great work to make our beloved xbox controllers workable under Linux :)
Since update from kernel 6.12.0-124 to 6.12.0-211 I could not compile the driver anymore (I use secure boot so need to recompile after every kernel update)
in xpad.c, problem seems to be :
// backward compatibility. from_timer is renamed to timer_container_of since 6.16.0
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,16,0)
#define timer_container_of from_timer
#endif
But 6.12.0-211 kernel already has:
#define timer_container_of(...)
which is why I got:
warning: "timer_container_of" redefined
fix is to comment this out:
/*
#define timer_container_of from_timer
*/
Hi,
Thanks for you great work to make our beloved xbox controllers workable under Linux :)
Since update from kernel 6.12.0-124 to 6.12.0-211 I could not compile the driver anymore (I use secure boot so need to recompile after every kernel update)
in xpad.c, problem seems to be :
// backward compatibility. from_timer is renamed to timer_container_of since 6.16.0
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,16,0)
#define timer_container_of from_timer
#endif
But 6.12.0-211 kernel already has:
#define timer_container_of(...)
which is why I got:
warning: "timer_container_of" redefined
fix is to comment this out:
/*
#define timer_container_of from_timer
*/