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

@@ -26,6 +26,8 @@
#ifndef __SAVAGE_DRV_H__
#define __SAVAGE_DRV_H__
#include <drm/drm_legacy.h>
#define DRIVER_AUTHOR "Felix Kuehling"
#define DRIVER_NAME "savage"