drm/i915/audio: constify hdmi audio clock struct
authorJani Nikula <jani.nikula@intel.com>
Mon, 27 Oct 2014 14:26:44 +0000 (16:26 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 22:21:56 +0000 (23:21 +0100)
Const is good.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_audio.c

index 167903b5e3ff58575f4244d08c10bd5bd1036ae2..e761f2c8d1aeaf6abb734279cbe6e322e5b21fe1 100644 (file)
@@ -28,7 +28,7 @@
 #include "intel_drv.h"
 #include "i915_drv.h"
 
-static struct {
+static const struct {
        int clock;
        u32 config;
 } hdmi_audio_clock[] = {