summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/via
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-10 12:43:49 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-12 11:08:55 +0200
commit4f03b1fc1eb286b73d453c03cdb45a3827726a44 (patch)
treedc90ed4f6a5b7028285024737f707e861505a7cf /drivers/gpu/drm/via
parenta677f4cc88b2b7491c0c400e07b6630852971e32 (diff)
downloadlwn-4f03b1fc1eb286b73d453c03cdb45a3827726a44.tar.gz
lwn-4f03b1fc1eb286b73d453c03cdb45a3827726a44.zip
drm: Create drm legacy driver header
And move a few legayc functions to start things over there. It compiles ... Inspired by a patch from Dave Airlie, but with a split between drm.ko private legacy functions and stuff used by drivers. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/via')
-rw-r--r--drivers/gpu/drm/via/via_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/via/via_drv.h b/drivers/gpu/drm/via/via_drv.h
index ad0273256beb..ef8c500b4a00 100644
--- a/drivers/gpu/drm/via/via_drv.h
+++ b/drivers/gpu/drm/via/via_drv.h
@@ -25,6 +25,8 @@
#define _VIA_DRV_H_
#include <drm/drm_mm.h>
+#include <drm/drm_legacy.h>
+
#define DRIVER_AUTHOR "Various"
#define DRIVER_NAME "via"