diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-10 12:43:49 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-12 11:08:55 +0200 |
commit | 4f03b1fc1eb286b73d453c03cdb45a3827726a44 (patch) | |
tree | dc90ed4f6a5b7028285024737f707e861505a7cf /drivers/gpu/drm/r128 | |
parent | a677f4cc88b2b7491c0c400e07b6630852971e32 (diff) | |
download | linux-4f03b1fc1eb286b73d453c03cdb45a3827726a44.tar.gz linux-4f03b1fc1eb286b73d453c03cdb45a3827726a44.tar.bz2 linux-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/r128')
-rw-r--r-- | drivers/gpu/drm/r128/r128_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/r128/r128_drv.h b/drivers/gpu/drm/r128/r128_drv.h index 49fe02670c2e..723e5d6f10a4 100644 --- a/drivers/gpu/drm/r128/r128_drv.h +++ b/drivers/gpu/drm/r128/r128_drv.h @@ -36,6 +36,8 @@ #define __R128_DRV_H__ #include <drm/ati_pcigart.h> +#include <drm/drm_legacy.h> + /* General customization: */ #define DRIVER_AUTHOR "Gareth Hughes, VA Linux Systems Inc." |