Commit 24cb483b authored by Committed by Greg Kroah-Hartman
drm/udl: introduce a macro to convert dev to udl.
commit fd96e0dba19c53c2d66f2a398716bb74df8ca85e upstream. This just makes it easier to later embed drm into udl. [rez] Regarding the backport to v4.14.y, the only difference is due to the fact that in v4.14.y the udl_gem_mmap() function doesn't have a local 'struct udl_device' pointer so it didn't need to be converted. Reviewed-by: Alex Deucher <email@example.com> Signed-off-by: Dave Airlie <firstname.lastname@example.org> Link: https://email@example.comSigned-off-by: Ross Zwisler <firstname.lastname@example.org> Signed-off-by: Sasha Levin <email@example.com>
Showing with 13 additions and 11 deletions