Re: [v4l-dvb-maintainer] zoran: compilatation failure on ARM Orion
- Date: Fri, 15 Feb 2008 16:46:21 -0200
- From: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
- Subject: Re: [v4l-dvb-maintainer] zoran: compilatation failure on ARM Orion
On Thu, 14 Feb 2008 13:59:30 +0100
Martin Michlmayr <tbm@xxxxxxxxxx> wrote:
> The zoran driver fails to compile on the ARM Orion platform with:
>
> In file included from drivers/media/video/zoran_procfs.c:50:
> drivers/media/video/zoran.h:232: error: expected identifier before numeric constant
>
> The reason is that drivers/media/video/zoran.h defines an enum with
> GPIO_MAX in it, but Orion contains a #define GPIO_MAX 32 in
> include/asm-arm/arch-orion/orion.h
>
> I think it would be good if zoran.h would prefix these very generic
> GPIO names with something.
>
Ok, I've wrote a fix for Zoran, doing:
s/GPIO_/ZR_GPIO_/g
Yet, as Trent noticed, the better would be if arch-orion also to avoid using
such generic names.
Cheers,
Mauro
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list