Skip to content

Commit

Permalink
Staging: sm7xx: smtcfb.h: fix sparse error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josenivaldo Benito Jr authored and Greg Kroah-Hartman committed Feb 14, 2012
1 parent c8100d2 commit 72ed116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sm7xx/smtcfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 72ed116

Please sign in to comment.