]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6010fda5a1bd1540764f0f9215db6b083afde13e
tree79f2ca3791d41fc7999548d53db2d9155cfa894e
parent987370a28309d2d38e92b13de153229c36c6d15b
media: fsl-viu: Use the ioread/write32be() accessors

Since commit 668d78a9b3f5 ("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