[PATCH 3/8] Staging: vme_ca91cx42: mark ca91cx42_driver->base as __iomem

Namhyung Kim namhyung at gmail.com
Mon Dec 13 13:16:31 UTC 2010


ca91cx42_driver->base is mapped by ioremap_nocache() thus
should be marked as __iomem.

Signed-off-by: Namhyung Kim <namhyung at gmail.com>
---
 drivers/staging/vme/bridges/vme_ca91cx42.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/vme/bridges/vme_ca91cx42.h b/drivers/staging/vme/bridges/vme_ca91cx42.h
index e72c65b193ec..02a7c794db05 100644
--- a/drivers/staging/vme/bridges/vme_ca91cx42.h
+++ b/drivers/staging/vme/bridges/vme_ca91cx42.h
@@ -39,7 +39,7 @@
 
 /* Structure used to hold driver specific information */
 struct ca91cx42_driver {
-	void *base;	/* Base Address of device registers */
+	void __iomem *base;	/* Base Address of device registers */
 	wait_queue_head_t dma_queue;
 	wait_queue_head_t iack_queue;
 	wait_queue_head_t mbox_queue;
-- 
1.7.3.3.400.g93cef




More information about the devel mailing list