diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-03 08:03:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 07:37:41 -0400 |
commit | 3aea901d6bb43c2809077cf2b2e75d9e836941a1 (patch) | |
tree | 6576aa60be67fb61affe0747eb25b3f9f273f933 | |
parent | f7f994a4c5f776823b527db5a9d86f27df573e76 (diff) |
spi: fsl-spi: Make of_device_id array const
Make of_device_id array const, because all OF functions handle
it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi-fsl-spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index 98ccd231bf00..9452f6740997 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c | |||
@@ -58,7 +58,7 @@ static struct fsl_spi_match_data of_fsl_spi_grlib_config = { | |||
58 | .type = TYPE_GRLIB, | 58 | .type = TYPE_GRLIB, |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static struct of_device_id of_fsl_spi_match[] = { | 61 | static const struct of_device_id of_fsl_spi_match[] = { |
62 | { | 62 | { |
63 | .compatible = "fsl,spi", | 63 | .compatible = "fsl,spi", |
64 | .data = &of_fsl_spi_fsl_config, | 64 | .data = &of_fsl_spi_fsl_config, |