]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/dvo: move DVO chip types to intel_dvo.c
authorJani Nikula <jani.nikula@intel.com>
Thu, 2 May 2019 15:02:35 +0000 (18:02 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 3 May 2019 07:04:55 +0000 (10:04 +0300)
Reduce clutter from intel_drv.h with the minimal change.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/95203dbf844061da95f33614d0cb61533a11fdd4.1556809195.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dvo.c

index 57ae3961c805b3458f9bda5628a2ec9d17c4877a..ab11c3892db6c354eb60814d469d362a295c1c0a 100644 (file)
@@ -184,11 +184,6 @@ enum intel_output_type {
        INTEL_OUTPUT_DP_MST = 11,
 };
 
-#define INTEL_DVO_CHIP_NONE 0
-#define INTEL_DVO_CHIP_LVDS 1
-#define INTEL_DVO_CHIP_TMDS 2
-#define INTEL_DVO_CHIP_TVOUT 4
-
 #define INTEL_DSI_VIDEO_MODE   0
 #define INTEL_DSI_COMMAND_MODE 1
 
index 9300132efbd2a54f61f9878cb71bb5f475801c42..79a43f4c99dfb9e235a46cd411414d1cd8342ca2 100644 (file)
 #include "intel_dvo_dev.h"
 #include "intel_panel.h"
 
+#define INTEL_DVO_CHIP_NONE    0
+#define INTEL_DVO_CHIP_LVDS    1
+#define INTEL_DVO_CHIP_TMDS    2
+#define INTEL_DVO_CHIP_TVOUT   4
+
 #define SIL164_ADDR    0x38
 #define CH7xxx_ADDR    0x76
 #define TFP410_ADDR    0x38