mirror of
https://github.com/gnif/vendor-reset.git
synced 2025-12-27 06:19:29 +01:00
Make new include path conditional
…so the module builds for both kernels below 6.12 and above. Thanks, @VoodaGod! Co-authored-by: Jason Rensburger <l33tjas.0n@gmail.com>
This commit is contained in:
parent
ab1b348480
commit
54ffd6a012
@ -29,7 +29,11 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/version.h>
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0)
|
||||
#include <asm/unaligned.h>
|
||||
#else
|
||||
#include <linux/unaligned.h>
|
||||
#endif
|
||||
|
||||
//#include <drm/drm_util.h>
|
||||
//#include <drm/drm_print.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user