[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1406203117-2767-1-git-send-email-kiran.padwal21@gmail.com>
Date: Thu, 24 Jul 2014 17:28:36 +0530
From: Kiran Padwal <kiran.padwal21@...il.com>
To: lgirdwood@...il.com, broonie@...nel.org
Cc: perex@...ex.cz, tiwai@...e.de, s.hauer@...gutronix.de,
fabio.estevam@...escale.com, kuninori.morimoto.gx@...esas.com,
Li.Xiubo@...escale.com, kiran.padwal21@...il.com,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ASoC: ak4642: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const
Signed-off-by: Kiran Padwal <kiran.padwal21@...il.com>
---
sound/soc/codecs/ak4642.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index 3ba4c0f..4b2ae61 100644
--- a/sound/soc/codecs/ak4642.c
+++ b/sound/soc/codecs/ak4642.c
@@ -593,7 +593,7 @@ static int ak4642_i2c_remove(struct i2c_client *client)
return 0;
}
-static struct of_device_id ak4642_of_match[] = {
+static const struct of_device_id ak4642_of_match[] = {
{ .compatible = "asahi-kasei,ak4642", .data = &ak4642_drvdata},
{ .compatible = "asahi-kasei,ak4643", .data = &ak4643_drvdata},
{ .compatible = "asahi-kasei,ak4648", .data = &ak4648_drvdata},
--
1.7.9.5
--
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