From: Stephen Hemminger Date: Thu, 3 Mar 2011 17:59:01 +0000 (-0800) Subject: video via: fix iomem access X-Git-Tag: v2.6.39-rc1~457^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b65d6040e3a7cd75d9287f7ddfd115e85fde4b44;p=pandora-kernel.git video via: fix iomem access 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 Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed