OSDN Git Service

staging: unisys: Fix sparse error - accessing __iomem directly
authorLuke Hart <luke.hart@birchleys.eu>
Fri, 12 Sep 2014 09:48:33 +0000 (10:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:08:09 +0000 (16:08 -0700)
commit635ecc5f36438cdf8cf3b88421321ee7443eb2d1
treef5dd2d6d7d07966bc30dd9611626223e25375a1f
parentcec78b98df2f87a396890c802dccbf0e604c6829
staging: unisys: Fix sparse error - accessing __iomem directly

Copy the channel type into a temporary buffer so that code will work
for architectures that don't support MMIO. This now works in same way
as other tests in same function.

Signed-off-by: Luke Hart <luke.hart@birchleys.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/channels/channel.h