[Intel-gfx] [PATCH v2 02/18] drm/i915/audio: constify hdmi audio clock struct
Rodrigo Vivi
rodrigo.vivi at gmail.com
Mon Oct 27 18:42:20 CET 2014
Agree!
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
On Mon, Oct 27, 2014 at 7:26 AM, Jani Nikula <jani.nikula at intel.com> wrote:
> 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
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
More information about the Intel-gfx
mailing list