mirror of
https://github.com/KastnerRG/riffa.git
synced 2024-12-24 22:58:54 +08:00
Fix driver for linux >= 4.11
This commit is contained in:
parent
dbab23da14
commit
77b91a3644
@ -51,7 +51,13 @@
|
||||
#include <linux/fs.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/interrupt.h>
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,11,0)
|
||||
#include <linux/sched.h>
|
||||
#else
|
||||
#include <linux/sched/signal.h>
|
||||
#endif
|
||||
|
||||
#include <linux/rwsem.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/pagemap.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user