From e7f1c9320ee6b596d58c4b2baeb1bbdfb1f0d9af Mon Sep 17 00:00:00 2001 From: Lidza Louina Date: Mon, 26 Aug 2013 14:04:59 -0400 Subject: [PATCH] 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 --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2