From 3ade558eeb3dd27a82bfba7eee0bb1678613951e Mon Sep 17 00:00:00 2001 From: Josenivaldo Benito Jr Date: Sun, 12 Feb 2012 19:03:15 -0200 Subject: [PATCH] Staging: sm7xx: smtcfb.h: fix sparse error Declaration between .h and .c was mismatched. Matched both declara tions avoiding an sparse check error. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sm7xx/smtcfb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm7xx/smtcfb.h b/drivers/staging/sm7xx/smtcfb.h index c5e6989e65ab6..ab95af2b9c079 100644 --- a/drivers/staging/sm7xx/smtcfb.h +++ b/drivers/staging/sm7xx/smtcfb.h @@ -38,7 +38,7 @@ #define dac_reg (0x3c8) #define dac_val (0x3c9) -extern char *smtc_RegBaseAddress; +extern char __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) -- 2.39.5