summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vivid/Kconfig
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2015-09-28 19:27:07 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-10-03 11:36:24 -0300
commit6903acde49372001c83d8717a5435d0f91896914 (patch)
treeedf2e0555b1b1a553a9196069e12302735fb650c /drivers/media/platform/vivid/Kconfig
parenta5d42b8c3b3ddccd88dc1c70957177d31a6699fb (diff)
downloadtalos-obmc-linux-6903acde49372001c83d8717a5435d0f91896914.tar.gz
talos-obmc-linux-6903acde49372001c83d8717a5435d0f91896914.zip
[media] vivid: Add an option to configure the maximum number of devices
The vivid driver currently has a hard-coded limit of 64 devices, however there's nothing that prevents the creation of even more devices. This commit adds a new driver option (which defaults to 64) to allow this maximum number to be configurable. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vivid/Kconfig')
-rw-r--r--drivers/media/platform/vivid/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/platform/vivid/Kconfig b/drivers/media/platform/vivid/Kconfig
index c3090932f06d..0885e93ad436 100644
--- a/drivers/media/platform/vivid/Kconfig
+++ b/drivers/media/platform/vivid/Kconfig
@@ -20,3 +20,11 @@ config VIDEO_VIVID
Say Y here if you want to test video apps or debug V4L devices.
When in doubt, say N.
+
+config VIDEO_VIVID_MAX_DEVS
+ int "Maximum number of devices"
+ depends on VIDEO_VIVID
+ default "64"
+ ---help---
+ This allows you to specify the maximum number of devices supported
+ by the vivid driver.
OpenPOWER on IntegriCloud