Skip to content
Commit 16834405 authored by Guillaume Clement's avatar Guillaume Clement Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: change type of PortOffset to void __iomem *



PortOffset was an unsigned long, but used as an pointer to io
memory. Sometimes it was not properly cast before use, which caused
many warning by sparse.

By updating its type to void __iomem *, and reflecting the changes
where it is needed, this removes most of those warnings.

Signed-off-by: default avatarGuillaume Clement <gclement@baobob.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c49d4b96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment