mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
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>
This commit is contained in:
parent
c2ac546ea4
commit
e7f1c9320e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user