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>
This commit is contained in:
Daniel Vetter
2014-09-10 12:43:49 +02:00
parent a677f4cc88
commit 4f03b1fc1e
11 changed files with 73 additions and 15 deletions

View File

@@ -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"