OSDN Git Service

media: fsl-viu: Use the ioread/write32be() accessors
authorFabio Estevam <festevam@gmail.com>
Wed, 25 Nov 2020 12:04:47 +0000 (13:04 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 06:49:49 +0000 (07:49 +0100)
commit8e06053d339af3caae1c68435cfdb9ac95b0ff25
tree79f2ca3791d41fc7999548d53db2d9155cfa894e
parentdb47622c13ae8e164505866d1f251de64d68e66a
media: fsl-viu: Use the ioread/write32be() accessors

Since commit 29d750686331 ("media: fsl-viu: allow building it with
COMPILE_TEST") there were several attempts to fix build failures on
PPC, MICROBLAZE and M68K.

However, such errors are still present as reported by kbuild robot.

Fix the problem by using the ioread/write32be() accessors, which build
fine on all platforms.

Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/fsl-viu.c