diff options
| author | Lidza Louina <lidza.louina@gmail.com> | 2013-08-26 14:04:59 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-26 19:26:56 -0400 |
| commit | e7f1c9320ee6b596d58c4b2baeb1bbdfb1f0d9af (patch) | |
| tree | d3db47068d210826b6a2fe96ab7f4f41eb12733e | |
| parent | c2ac546ea4b5e71dafb80892558ca0f125187998 (diff) | |
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 <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 344 | int dgnc_tty_init(struct board_t *brd) | 344 | int dgnc_tty_init(struct board_t *brd) |
| 345 | { | 345 | { |
| 346 | int i; | 346 | int i; |
| 347 | uchar *vaddr; | 347 | u8 __iomem *vaddr; |
| 348 | struct channel_t *ch; | 348 | struct channel_t *ch; |
| 349 | 349 | ||
| 350 | if (!brd) | 350 | if (!brd) |
