]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: media/platform: fsl-viu.c: fix build for MICROBLAZE
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 6 Aug 2019 22:01:36 +0000 (19:01 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 11:13:35 +0000 (13:13 +0200)
commitff45dc5d103f4db0051ff2e0b1ca7e32b39735fe
treefa933d6949d514de547eb159561e27a4bfd8042b
parentc0053b3c614247a68fb76b9266e7722f38fde6d8
media: media/platform: fsl-viu.c: fix build for MICROBLAZE

[ Upstream commit 6898dd580a045341f844862ceb775144156ec1af ]

arch/microblaze/ defines out_be32() and in_be32(), so don't do that
again in the driver source.

Fixes these build warnings:

../drivers/media/platform/fsl-viu.c:36: warning: "out_be32" redefined
../arch/microblaze/include/asm/io.h:50: note: this is the location of the previous definition
../drivers/media/platform/fsl-viu.c:37: warning: "in_be32" redefined
../arch/microblaze/include/asm/io.h:53: note: this is the location of the previous definition

Fixes: 29d750686331 ("media: fsl-viu: allow building it with COMPILE_TEST")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/fsl-viu.c