diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-18 12:49:01 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-22 14:05:50 -0400 |
commit | c660c0a805860e3abf22b44a2508ff46a549ffa9 (patch) | |
tree | 566386a5405fdd6b5788123cf4f79dbf91ce2934 | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
ASoC: fsi: 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>
-rw-r--r-- | sound/soc/sh/fsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index b87b22e88e43..eef7083ec7d9 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -1876,7 +1876,7 @@ static void fsi_handler_init(struct fsi_priv *fsi, | |||
1876 | } | 1876 | } |
1877 | } | 1877 | } |
1878 | 1878 | ||
1879 | static struct of_device_id fsi_of_match[]; | 1879 | static const struct of_device_id fsi_of_match[]; |
1880 | static int fsi_probe(struct platform_device *pdev) | 1880 | static int fsi_probe(struct platform_device *pdev) |
1881 | { | 1881 | { |
1882 | struct fsi_master *master; | 1882 | struct fsi_master *master; |
@@ -2092,7 +2092,7 @@ static struct fsi_core fsi2_core = { | |||
2092 | .b_mclk = B_MST_CTLR, | 2092 | .b_mclk = B_MST_CTLR, |
2093 | }; | 2093 | }; |
2094 | 2094 | ||
2095 | static struct of_device_id fsi_of_match[] = { | 2095 | static const struct of_device_id fsi_of_match[] = { |
2096 | { .compatible = "renesas,sh_fsi", .data = &fsi1_core}, | 2096 | { .compatible = "renesas,sh_fsi", .data = &fsi1_core}, |
2097 | { .compatible = "renesas,sh_fsi2", .data = &fsi2_core}, | 2097 | { .compatible = "renesas,sh_fsi2", .data = &fsi2_core}, |
2098 | {}, | 2098 | {}, |