From: Lidza Louina Date: Mon, 26 Aug 2013 18:04:59 +0000 (-0400) Subject: staging: dgnc: tty.c: edits var in init func for sparse X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e7f1c9320ee6b596d58c4b2baeb1bbdfb1f0d9af;p=openwrt%2Fstaging%2Fblogic.git staging: dgnc: tty.c: edits var in init func for sparse This patch edits the vaddr variable in dgnc_tty_init. The variable gets set to board_t->re_map_membase. A previous patch changed the re_map_membase variable's marker and type. This patch makes sure that the changes are consistent and that it doesn't cause sparse warnings. Signed-off-by: Lidza Louina Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index f0ecc65b86b7..a54b82966976 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c @@ -344,7 +344,7 @@ int dgnc_tty_register(struct board_t *brd) int dgnc_tty_init(struct board_t *brd) { int i; - uchar *vaddr; + u8 __iomem *vaddr; struct channel_t *ch; if (!brd)