summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_nvif.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-31 21:06:09 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 08:39:11 +0200
commit3cfb2face6205d30ecfc0145d68cd9e0c3dfe6f1 (patch)
treee58dca930dfbf7c824761bbda4bb1fb57ad1d545 /drivers/gpu/drm/nouveau/nouveau_nvif.c
parentmissing annotation in fs/file.c (diff)
downloadlinux-3cfb2face6205d30ecfc0145d68cd9e0c3dfe6f1.tar.xz
linux-3cfb2face6205d30ecfc0145d68cd9e0c3dfe6f1.zip
nouveau: __iomem misannotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_nvif.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_nvif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_nvif.c b/drivers/gpu/drm/nouveau/nouveau_nvif.c
index 47ca88623753..6544b84f0303 100644
--- a/drivers/gpu/drm/nouveau/nouveau_nvif.c
+++ b/drivers/gpu/drm/nouveau/nouveau_nvif.c
@@ -40,12 +40,12 @@
#include "nouveau_usif.h"
static void
-nvkm_client_unmap(void *priv, void *ptr, u32 size)
+nvkm_client_unmap(void *priv, void __iomem *ptr, u32 size)
{
iounmap(ptr);
}
-static void *
+static void __iomem *
nvkm_client_map(void *priv, u64 handle, u32 size)
{
return ioremap(handle, size);