diff options
author | Josenivaldo Benito Jr <jrbenito@benito.qsl.br> | 2012-02-12 19:03:15 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-13 20:09:38 -0800 |
commit | 72ed116fe68a2adb45234fcffffeec04d789071b (patch) | |
tree | ecdc82ac5d34c516625484d869d35ffaaa5f62b7 | |
parent | c8100d2b186b804305608c22cc77b0deeb1d9821 (diff) |
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 <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/sm7xx/smtcfb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm7xx/smtcfb.h b/drivers/staging/sm7xx/smtcfb.h index c5e6989e65ab..ab95af2b9c07 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) |