summaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-02-08 01:02:58 -0500
committerArnd Bergmann <arnd@arndb.de>2019-02-18 17:49:30 +0100
commit852661a8691fd1f974b61eaa317d2620198f7c76 (patch)
tree569ed5944750edd1cc25e8aa5ba047da1229cf2d /include/drm/drmP.h
parente844f2c11080ab5f3e3fa77ca09a7719d256a98a (diff)
downloadlinux-852661a8691fd1f974b61eaa317d2620198f7c76.tar.gz
linux-852661a8691fd1f974b61eaa317d2620198f7c76.tar.bz2
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/drm/drmP.h')
-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>