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>
Fri, 23 Jul 2010 06:20:26 +0000 (08:20 +0200)
commitb5412a27380f0c8d571181ba2ab719574fce796a
treeb11aa7a5afd5db8e8312e2e50bb09cad0243014e
parentd10aa1882d560d968dd61fb49ad1eeab5df84079
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