summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4554.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-18 17:49:00 +0100
committerMark Brown <broonie@kernel.org>2015-03-22 19:05:23 +0100
commitf7d4bfee667e236bc9680cfe2f17247bc007f4e3 (patch)
tree8d1c8a1f77332a2fec5b72a9b232e236bbae7711 /sound/soc/codecs/ak4554.c
parentLinux 4.0-rc1 (diff)
downloadlinux-f7d4bfee667e236bc9680cfe2f17247bc007f4e3.tar.xz
linux-f7d4bfee667e236bc9680cfe2f17247bc007f4e3.zip
ASoC: ak4554: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/ak4554.c')
-rw-r--r--sound/soc/codecs/ak4554.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4554.c b/sound/soc/codecs/ak4554.c
index 16ce9f9fefa1..298dedc05140 100644
--- a/sound/soc/codecs/ak4554.c
+++ b/sound/soc/codecs/ak4554.c
@@ -84,7 +84,7 @@ static int ak4554_soc_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id ak4554_of_match[] = {
+static const struct of_device_id ak4554_of_match[] = {
{ .compatible = "asahi-kasei,ak4554" },
{},
};