Re: Make OLPC camera driver depend on x86.

From: Dave Jones
Date: Tue Dec 12 2006 - 12:42:41 EST


On Tue, Dec 12, 2006 at 05:40:55PM +0000, Alan Cox wrote:
> > > > - depends on I2C && VIDEO_V4L2
> > > > + depends on I2C && VIDEO_V4L2 && X86_32
> > >
> > > Any particular reason why?
> >
> > Just seemed odd to be offered the option when I was building
> > an ia64 kernel given its extremely unlikely to ever appear there.
>
> It means we catch portability bugs early and people changing core code
> catch problems even if their platform is not X86_32. The practice for
> almost all out drivers is thus not to put in arch dependancies unless
> they genuinely do not build on arbitary platforms.
>
> NAK

Given this could in theory turn up in USB form one day, and some
lunatic may actually plug one into an ia64, I see your point.
Unlikely, but feasible.

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/