drm/ast: Separate DRM driver from PCI code
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 30 Jul 2020 13:51:59 +0000 (15:51 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 3 Aug 2020 07:03:54 +0000 (09:03 +0200)
commitd50ace1e72f05708cc5dbc89b9bbb9873f150092
tree966c56210a63bbb4c1acfc5cbb8acb407ef3efe2
parent6a470dc2a12e99608706de030c92732f166d0dc1
drm/ast: Separate DRM driver from PCI code

Putting the DRM driver to the top of the file and the PCI code to the
bottom makes ast_drv.c more readable. While at it, the patch prefixes
file-scope variables with ast_.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200730135206.30239-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.c