[Intel-gfx] [PATCH v2 02/18] drm/i915/audio: constify hdmi audio clock struct
Jani Nikula
jani.nikula at intel.com
Mon Oct 27 15:26:44 CET 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 167903b5e3ff..e761f2c8d1ae 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[] = {
--
2.1.1
More information about the Intel-gfx
mailing list