summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-02-08 07:02:58 +0100
committerArnd Bergmann <arnd@arndb.de>2019-02-18 17:49:30 +0100
commit852661a8691fd1f974b61eaa317d2620198f7c76 (patch)
tree569ed5944750edd1cc25e8aa5ba047da1229cf2d /include
parentx86/mpx: tweak header name (diff)
downloadlinux-852661a8691fd1f974b61eaa317d2620198f7c76.tar.xz
linux-852661a8691fd1f974b61eaa317d2620198f7c76.zip
drm: tweak header name
Use linux/mman.h to make sure we get all mmap flags we need. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drmP.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index bdb0d5548f39..a3184416ddc5 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -57,8 +57,7 @@
#include <linux/workqueue.h>
#include <linux/dma-fence.h>
#include <linux/module.h>
-
-#include <asm/mman.h>
+#include <linux/mman.h>
#include <asm/pgalloc.h>
#include <linux/uaccess.h>