linux/drivers/media
Daniel Drake c6384c886d [media] via-camera: Fix OLPC serial check
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 this code when CONFIG_OLPC=n
(due to machine_is_olpc() always returning false).

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-03-22 16:37:49 -03:00
..
common [media] tuner-xc2028.c: fix compile warning 2011-03-22 04:53:58 -03:00
dvb [media] DM04/QQBOX Update V1.76 - use 32 bit remote decoding 2011-03-22 16:37:47 -03:00
radio [media] radio-wl1273: remove unused wl1273_device->work 2011-03-22 06:51:56 -03:00
rc [media] Change to 32 bit and add other remote controls for lme2510 2011-03-22 16:37:48 -03:00
video [media] via-camera: Fix OLPC serial check 2011-03-22 16:37:49 -03:00
Kconfig [media] v4l: Create v4l2 subdev file handle structure 2011-03-22 04:53:26 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: Links setup 2011-03-22 04:53:16 -03:00
media-devnode.c [media] media: Media device node support 2011-03-22 04:52:22 -03:00
media-entity.c [media] media: Pipelines and media streams 2011-03-22 04:53:17 -03:00