[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hd245w8ak.wl-tiwai@suse.de>
Date: Thu, 19 Mar 2015 12:12:03 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Fabian Frederick <fabf@...net.be>
Cc: linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
Johannes Berg <johannes@...solutions.net>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [alsa-devel] [PATCH 1/7 linux-next] ALSA: aoa: constify of_device_id array
At Wed, 18 Mar 2015 17:48:56 +0100,
Fabian Frederick wrote:
>
> of_device_id is always used as const.
> (See driver.of_match_table and open firmware functions)
>
> Signed-off-by: Fabian Frederick <fabf@...net.be>
Thanks, applied this one.
The rest ASoC patches are left to Mark.
Takashi
> ---
> sound/aoa/soundbus/i2sbus/core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c
> index b9737fa..1cbf210 100644
> --- a/sound/aoa/soundbus/i2sbus/core.c
> +++ b/sound/aoa/soundbus/i2sbus/core.c
> @@ -31,7 +31,7 @@ module_param(force, int, 0444);
> MODULE_PARM_DESC(force, "Force loading i2sbus even when"
> " no layout-id property is present");
>
> -static struct of_device_id i2sbus_match[] = {
> +static const struct of_device_id i2sbus_match[] = {
> { .name = "i2s" },
> { }
> };
> --
> 1.9.1
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@...a-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists