Re: [PATCH] via-camera: Fix OLPC serial check

2011-03-21 Thread Mauro Carvalho Chehab
Em 10-03-2011 13:24, Jonathan Corbet escreveu: [Trying to bash my inbox into reasonable shape, sorry for the slow response...] On Thu, 3 Mar 2011 19:03:31 + (GMT) Daniel Drake d...@laptop.org wrote: The code that checks the OLPC serial port is never built at the moment, because

Re: [PATCH] via-camera: Fix OLPC serial check

2011-03-10 Thread Jonathan Corbet
[Trying to bash my inbox into reasonable shape, sorry for the slow response...] On Thu, 3 Mar 2011 19:03:31 + (GMT) Daniel Drake d...@laptop.org wrote: The code that checks the OLPC serial port is never built at the moment, because CONFIG_OLPC_XO_1_5 doesn't exist and probably won't be

[PATCH] via-camera: Fix OLPC serial check

2011-03-03 Thread Daniel Drake
The code that checks the OLPC serial port is never built at the moment, because CONFIG_OLPC_XO_1_5 doesn't exist and probably won't be added. Fix it so that it gets compiled in, only executes on OLPC laptops, and move the check into the probe routine. The compiler is smart enough to eliminate