From: Fabian Frederick Date: Wed, 18 Mar 2015 16:49:00 +0000 (+0100) Subject: ASoC: ak4554: constify of_device_id array X-Git-Tag: firefly_0821_release~176^2~1862^2~14^2~8^2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f7d4bfee667e236bc9680cfe2f17247bc007f4e3;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Mark Brown --- 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" }, {}, };