Skip to content

Commit

Permalink
Fix driver for linux >= 4.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Prost-Boucle committed Jun 6, 2017
1 parent dbab23d commit 77b91a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions driver/linux/riffa_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 77b91a3

Please sign in to comment.