Skip to content
Commit 1f8a6edf authored by Michael Kupfer's avatar Michael Kupfer Committed by Greg Kroah-Hartman
Browse files

staging/vc04_services/bcm2835-camera: distinct numeration and names for devices



Create a static atomic counter for numerating cameras.
Use the Media Subsystem Kernel Internal API to create distinct
device-names, so that the camera-number (given by the counter)
matches the camera-name.

Co-developed-by: default avatarKay Friedrich <kay.friedrich@fau.de>
Signed-off-by: default avatarKay Friedrich <kay.friedrich@fau.de>
Signed-off-by: default avatarMichael Kupfer <michael.kupfer@fau.de>
Link: https://lore.kernel.org/r/20191206085432.19962-1-michael.kupfer@fau.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a1df271a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment