drm/amdgpu/virtual_dce: move define into source file
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Oct 2016 21:36:46 +0000 (17:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:44 +0000 (14:38 -0400)
It's not used outside the file.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_virtual.c
drivers/gpu/drm/amd/amdgpu/dce_virtual.h

index 226b914aa315cbd812d0c22aa904354acbb80d85..7d041b9a4d61e0bdb4c450d44625d5827806514f 100644 (file)
@@ -37,6 +37,9 @@
 #include "dce_v11_0.h"
 #include "dce_virtual.h"
 
+#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
+
+
 static void dce_virtual_set_display_funcs(struct amdgpu_device *adev);
 static void dce_virtual_set_irq_funcs(struct amdgpu_device *adev);
 static int dce_virtual_connector_encoder_init(struct amdgpu_device *adev,
index e239243f6ebc19e6b79f5575927bb7b7e96cfd22..393ce97f783e78356e73271f5401f6925a29a74d 100644 (file)
@@ -25,7 +25,6 @@
 #define __DCE_VIRTUAL_H__
 
 extern const struct amd_ip_funcs dce_virtual_ip_funcs;
-#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
 
 #endif