OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f85e8
)
drm/mga: make header file self contained
author
Sam Ravnborg
<sam@ravnborg.org>
Sun, 23 Jun 2019 10:35:40 +0000
(12:35 +0200)
committer
Sam Ravnborg
<sam@ravnborg.org>
Sun, 30 Jun 2019 07:48:05 +0000
(09:48 +0200)
This makes migration away from drmP.h simple
as we do not need to duplicate dependencies required by mga_drv.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190623103542.30697-3-sam@ravnborg.org
drivers/gpu/drm/mga/mga_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mga/mga_drv.h
b/drivers/gpu/drm/mga/mga_drv.h
index
1766c19
..
d5deecb
100644
(file)
--- a/
drivers/gpu/drm/mga/mga_drv.h
+++ b/
drivers/gpu/drm/mga/mga_drv.h
@@
-31,7
+31,20
@@
#ifndef __MGA_DRV_H__
#define __MGA_DRV_H__
+#include <linux/irqreturn.h>
+#include <linux/slab.h>
+
+#include <drm/drm_agpsupport.h>
+#include <drm/drm_device.h>
+#include <drm/drm_file.h>
+#include <drm/drm_ioctl.h>
+#include <drm/drm_irq.h>
#include <drm/drm_legacy.h>
+#include <drm/drm_pci.h>
+#include <drm/drm_print.h>
+#include <drm/drm_sarea.h>
+#include <drm/drm_vblank.h>
+#include <drm/mga_drm.h>
/* General customization:
*/