[PATCH 6/8] Staging: vme_tsi148: mark tsi148_driver->base as __iomem

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


tsi148_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_tsi148.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/vme/bridges/vme_tsi148.h b/drivers/staging/vme/bridges/vme_tsi148.h
index bda64ef85754..9f97fa8084e8 100644
--- a/drivers/staging/vme/bridges/vme_tsi148.h
+++ b/drivers/staging/vme/bridges/vme_tsi148.h
@@ -35,7 +35,7 @@
 
 /* Structure used to hold driver specific information */
 struct tsi148_driver {
-	void *base;	/* Base Address of device registers */
+	void __iomem *base;	/* Base Address of device registers */
 	wait_queue_head_t dma_queue[2];
 	wait_queue_head_t iack_queue;
 	void (*lm_callback[4])(int);	/* Called in interrupt handler */
-- 
1.7.3.3.400.g93cef




More information about the devel mailing list