omap3beagle: camera: Fix dual sensor registration
authorSergio Aguirre <saaguirre@ti.com>
Thu, 22 Jul 2010 16:03:33 +0000 (11:03 -0500)
committerKoen Kooi <koen@dominion.thruhere.net>
Wed, 19 Jan 2011 15:12:27 +0000 (16:12 +0100)
commit838aed68f8efa16e9915795ddb968157d40fca6b
tree16bf62082cba0d2542b1acfcd458e7e589aef20e
parent18589703f191cee2568324b475ae479dd7f3b779
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