summaryrefslogtreecommitdiff
path: root/drivers/staging/sm7xxfb
diff options
context:
space:
mode:
authorJavier M. Mellid <jmunhoz@igalia.com>2012-09-17 14:12:50 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-17 21:57:52 (GMT)
commit5d0c77026be682141eef24fdb10e4f2d39df7ccb (patch)
tree65cd6c4f1422bedb8a9e7521c19f2ebef392c2d3 /drivers/staging/sm7xxfb
parent20d471c447d5fede8d0d2b3618450d9ab8d82da9 (diff)
downloadlinux-fsl-qoriq-5d0c77026be682141eef24fdb10e4f2d39df7ccb.tar.xz
staging: sm7xxfb: annotate iomem pointers
This patch annotates iomem pointers. Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm7xxfb')
-rw-r--r--drivers/staging/sm7xxfb/sm7xx.h2
-rw-r--r--drivers/staging/sm7xxfb/sm7xxfb.c14
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/sm7xxfb/sm7xx.h b/drivers/staging/sm7xxfb/sm7xx.h
index 333f33c..8599861 100644
--- a/drivers/staging/sm7xxfb/sm7xx.h
+++ b/drivers/staging/sm7xxfb/sm7xx.h
@@ -29,7 +29,7 @@
#define dac_reg (0x3c8)
#define dac_val (0x3c9)
-extern char __iomem *smtc_RegBaseAddress;
+extern void __iomem *smtc_RegBaseAddress;
#define smtc_mmiowb(dat, reg) writeb(dat, smtc_RegBaseAddress + reg)
#define smtc_mmioww(dat, reg) writew(dat, smtc_RegBaseAddress + reg)
#define smtc_mmiowl(dat, reg) writel(dat, smtc_RegBaseAddress + reg)
diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c
index 5ad52b9..3fa55a8 100644
--- a/drivers/staging/sm7xxfb/sm7xxfb.c
+++ b/drivers/staging/sm7xxfb/sm7xxfb.c
@@ -43,11 +43,11 @@ struct smtcfb_info {
u16 chip_id;
u8 chip_rev_id;
- unsigned char __iomem *m_pMMIO;
- char __iomem *m_pLFB;
- char *m_pDPR;
- char *m_pVPR;
- char *m_pCPR;
+ void __iomem *m_pMMIO;
+ void __iomem *m_pLFB;
+ void __iomem *m_pDPR;
+ void __iomem *m_pVPR;
+ void __iomem *m_pCPR;
u_int width;
u_int height;
@@ -56,8 +56,8 @@ struct smtcfb_info {
u32 colreg[17];
};
-char __iomem *smtc_RegBaseAddress; /* Memory Map IO starting address */
-char __iomem *smtc_VRAMBaseAddress; /* video memory starting address */
+void __iomem *smtc_RegBaseAddress; /* Memory Map IO starting address */
+void __iomem *smtc_VRAMBaseAddress; /* video memory starting address */
static struct fb_var_screeninfo smtcfb_var = {
.xres = 1024,