omap3beagle: camera: Fix dual sensor registration
authorSergio Aguirre <saaguirre@ti.com>
Thu, 22 Jul 2010 16:03:33 +0000 (11:03 -0500)
committerJason Kridner <jdk@ti.com>
Wed, 7 Sep 2011 23:15:31 +0000 (19:15 -0400)
commit4e67da32cc3142b12a330f605056147cc062ca5f
tree2ef55dc92d9af1daacb632e4e1aeae01db771cfc
parentb61e7e78411dd9b5b3842e9dcfee2ace4162a25a
omap3beagle: camera: Fix dual sensor registration

dev_index should be different, which represents an internal index
in the master camera driver.

Also, make device video nodes be alloted with the "first free", by setting
dev_minor to -1.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
arch/arm/mach-omap2/board-omap3beagle-camera.c