Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com> (cherry picked from commit f80f4c485d)
f80f4c485d
With newer driver versions the nvidia-frontend name in /proc/devices was replaced with nvidia. This change allows both nvidia and nvidia-frontend to be used to extract the expected device major (195). Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change adds basic functionality to process the /proc/devices file to extract device majors. Signed-off-by: Evan Lezar <elezar@nvidia.com>