drm/amd: make some function-local tables static const
[cascardo/linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_connectors.c
index 119cdc2..60a0c9a 100644 (file)
@@ -439,7 +439,7 @@ static void amdgpu_connector_add_common_modes(struct drm_encoder *encoder,
        struct drm_display_mode *mode = NULL;
        struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
        int i;
-       struct mode_size {
+       static const struct mode_size {
                int w;
                int h;
        } common_modes[17] = {