summaryrefslogtreecommitdiffstats
path: root/drivers/staging/qlge
diff options
context:
space:
mode:
authorMichael Kupfer <michael.kupfer@fau.de>2019-12-06 09:54:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-10 10:38:35 +0100
commit1f8a6edf8d2f9be4127b2ceb7c6c9cb7a82cc5b8 (patch)
treee265dd970d3dab5751038c7630294def6cba2279 /drivers/staging/qlge
parenta1df271a8652723786923f8314c07ac1e8a35e2f (diff)
downloadlinux-1f8a6edf8d2f9be4127b2ceb7c6c9cb7a82cc5b8.tar.gz
linux-1f8a6edf8d2f9be4127b2ceb7c6c9cb7a82cc5b8.tar.bz2
linux-1f8a6edf8d2f9be4127b2ceb7c6c9cb7a82cc5b8.zip
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: Kay Friedrich <kay.friedrich@fau.de> Signed-off-by: Kay Friedrich <kay.friedrich@fau.de> Signed-off-by: Michael Kupfer <michael.kupfer@fau.de> Link: https://lore.kernel.org/r/20191206085432.19962-1-michael.kupfer@fau.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/qlge')
0 files changed, 0 insertions, 0 deletions