video via: fix iomem access
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 3 Mar 2011 17:59:01 +0000 (09:59 -0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 9 Mar 2011 17:04:12 +0000 (17:04 +0000)
This driver is not respecting the iomem memory space restrictions
and does direct access. This works on x86 but is non-portable and
should not be done.  Converted memcpy() of 2 to readw.
Last post increment of romptr was unnecessary since pointer never
used after that.

Found by sparse, compile tested only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>

No differences found