summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-04-06 17:39:54 +0200
committerSuren A. Chilingaryan <csa@suren.me>2016-04-06 17:39:54 +0200
commitd5fe1592c166ae400a8dd70f70ce01d41c5bcf87 (patch)
treeb30648a253e065306de10e1e2939c70f7a3f9143
parente7c6e108bdd0829530716bafde88d1999111a81f (diff)
downloadpcitool-d5fe1592c166ae400a8dd70f70ce01d41c5bcf87.tar.gz
pcitool-d5fe1592c166ae400a8dd70f70ce01d41c5bcf87.tar.bz2
pcitool-d5fe1592c166ae400a8dd70f70ce01d41c5bcf87.tar.xz
pcitool-d5fe1592c166ae400a8dd70f70ce01d41c5bcf87.zip
Use linux/scatterlist.h instead of asm/scatterlist.h
-rw-r--r--driver/base.c2
-rw-r--r--driver/dev.c2
-rw-r--r--driver/ioctl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/driver/base.c b/driver/base.c
index 8bfbed6..5c874a8 100644
--- a/driver/base.c
+++ b/driver/base.c
@@ -13,7 +13,7 @@
#include <linux/pagemap.h>
#include <linux/spinlock.h>
#include <linux/list.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
#include <linux/vmalloc.h>
#include <linux/stat.h>
#include <linux/interrupt.h>
diff --git a/driver/dev.c b/driver/dev.c
index 2a047a4..1292110 100644
--- a/driver/dev.c
+++ b/driver/dev.c
@@ -13,7 +13,7 @@
#include <linux/pagemap.h>
#include <linux/spinlock.h>
#include <linux/list.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
#include <linux/vmalloc.h>
#include <linux/stat.h>
#include <linux/interrupt.h>
diff --git a/driver/ioctl.c b/driver/ioctl.c
index f852f2c..c75dd3a 100644
--- a/driver/ioctl.c
+++ b/driver/ioctl.c
@@ -22,7 +22,7 @@
#include <linux/pagemap.h>
#include <linux/spinlock.h>
#include <linux/list.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
#include <linux/vmalloc.h>
#include <linux/stat.h>
#include <linux/interrupt.h>