DORMANTno replies

[PATCH] ocfb: remove incorrect __iomem annotation

From: Christoph Hellwig <hch@lst.de>
Date: 2015-08-17 08:10:56
Subsystem: framebuffer layer, the rest · Maintainers: Helge Deller, Linus Torvalds

Make sparse happy:

drivers/video/fbdev/ocfb.c:375:64: sparse: incorrect type in argument 3 (different address spaces)

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/video/fbdev/ocfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/ocfb.c b/drivers/video/fbdev/ocfb.c
index de98196..97f11d2 100644
--- a/drivers/video/fbdev/ocfb.c
+++ b/drivers/video/fbdev/ocfb.c
@@ -62,7 +62,7 @@ struct ocfb_dev {
 	int little_endian;
 	/* Physical and virtual addresses of framebuffer */
 	dma_addr_t fb_phys;
-	void __iomem *fb_virt;
+	void *fb_virt;
 	u32 pseudo_palette[PALETTE_SIZE];
 };
 
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help