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 <firstname.lastname@example.org> Signed-off-by: Dave Airlie <email@example.com> Link: https://firstname.lastname@example.orgSigned-off-by: Ross Zwisler <email@example.com> Signed-off-by: Sasha Levin <firstname.lastname@example.org>
Showing with 13 additions and 11 deletions