[Intel-gfx] [PATCH 02/18] drm/i915/audio: constify hdmi audio clock struct
Jani Nikula
jani.nikula at intel.com
Fri Oct 3 14:43:45 CEST 2014
Const is good.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
drivers/gpu/drm/i915/intel_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c
index 461363e881b3..2397ac3c9842 100644
--- a/drivers/gpu/drm/i915/intel_audio.c
+++ b/drivers/gpu/drm/i915/intel_audio.c
@@ -28,7 +28,7 @@
#include "intel_drv.h"
#include "i915_drv.h"
-static struct {
+static const struct {
int clock;
u32 config;
} hdmi_audio_clock[] = {
--
1.9.1
More information about the Intel-gfx
mailing list