]> Git Repo - J-linux.git/commitdiff
drm: move DRM_IF_VERSION to drm_internal.h
authorSam Ravnborg <[email protected]>
Wed, 26 Dec 2018 21:03:47 +0000 (22:03 +0100)
committerDaniel Vetter <[email protected]>
Thu, 27 Dec 2018 12:08:58 +0000 (13:08 +0100)
Move DRM_IF_VERSION out of drmP.h to allow users
to get rid of the drmP include.

Signed-off-by: Sam Ravnborg <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/drm_internal.h
include/drm/drmP.h

index c7a7d7ce5d1cbaf1531e329223c0ca2f759ff1cc..331112b2ae8878670346dde561054c2a22ce61ff 100644 (file)
@@ -26,6 +26,8 @@
 #define DRM_IF_MAJOR 1
 #define DRM_IF_MINOR 4
 
+#define DRM_IF_VERSION(maj, min) (maj << 16 | min)
+
 struct drm_prime_file_private;
 struct dma_buf;
 
index bdb0d5548f39ede087a64e626f34b215834733d5..db94ef00940e20b1b6bb2f6e0ea3441c2a9bc506 100644 (file)
@@ -94,8 +94,6 @@ struct dma_buf_attachment;
 struct pci_dev;
 struct pci_controller;
 
-#define DRM_IF_VERSION(maj, min) (maj << 16 | min)
-
 #define DRM_SWITCH_POWER_ON 0
 #define DRM_SWITCH_POWER_OFF 1
 #define DRM_SWITCH_POWER_CHANGING 2
This page took 0.050058 seconds and 4 git commands to generate.