[PATCH] media: fsl-viu: Use proper check for presence of {out,in}_be32()

2020-11-19 Thread Geert Uytterhoeven
When compile-testing on m68k/randconfig: drivers/media/platform/fsl-viu.c: In function 'viu_start_dma': drivers/media/platform/fsl-viu.c:253:2: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration] drivers/media/platform/fsl-viu.c: In function

Re: [PATCH] media: fsl-viu: Use proper check for presence of {out,in}_be32()

2019-01-18 Thread Geert Uytterhoeven
Hi Hans, On Fri, Jan 18, 2019 at 11:08 AM Hans Verkuil wrote: > This patch is still in my patchwork todo list, and I wonder who will pick > this up, > especially the change to arch/powerpc/include/asm/io.h. I think the powerpc tree makes most sense. > Wouldn't it be easier to just fix this in

Re: [PATCH] media: fsl-viu: Use proper check for presence of {out,in}_be32()

2019-01-18 Thread Hans Verkuil
Hi Geert, This patch is still in my patchwork todo list, and I wonder who will pick this up, especially the change to arch/powerpc/include/asm/io.h. Wouldn't it be easier to just fix this in fsl-viu.c only by doing this: #ifndef CONFIG_PPC #ifndef out_be32 #define out_be32(v, a)