summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-spi.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-03 21:03:59 +0900
committerMark Brown <broonie@linaro.org>2014-06-06 12:37:41 +0100
commit3aea901d6bb43c2809077cf2b2e75d9e836941a1 (patch)
tree6576aa60be67fb61affe0747eb25b3f9f273f933 /drivers/spi/spi-fsl-spi.c
parentf7f994a4c5f776823b527db5a9d86f27df573e76 (diff)
downloadtalos-op-linux-3aea901d6bb43c2809077cf2b2e75d9e836941a1.tar.gz
talos-op-linux-3aea901d6bb43c2809077cf2b2e75d9e836941a1.zip
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>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
-rw-r--r--drivers/spi/spi-fsl-spi.c2
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 = {
.type = TYPE_GRLIB,
};
-static struct of_device_id of_fsl_spi_match[] = {
+static const struct of_device_id of_fsl_spi_match[] = {
{
.compatible = "fsl,spi",
.data = &of_fsl_spi_fsl_config,
OpenPOWER on IntegriCloud