1
0
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:
Adrien Prost-Boucle 2017-06-06 16:01:13 +02:00
parent dbab23da14
commit 77b91a3644

View File

@ -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>