]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c1700632b4b7d5e5797b93204cade1b4228d3c9
treef5dd2d6d7d07966bc30dd9611626223e25375a1f
parent5a5ed92111584de0648521173c8d7e638070930f
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