diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 03:45:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 15:53:04 -0400 |
commit | 790d190257b339bba9ff821d7d49f4567146f4ad (patch) | |
tree | 70ad4f49d11b91faef46dde6dc399967ebe0ac8a | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
spi: fsl-dspi: 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-dspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index d565eeee3bd8..5021ddf03f60 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c | |||
@@ -406,7 +406,7 @@ static irqreturn_t dspi_interrupt(int irq, void *dev_id) | |||
406 | return IRQ_HANDLED; | 406 | return IRQ_HANDLED; |
407 | } | 407 | } |
408 | 408 | ||
409 | static struct of_device_id fsl_dspi_dt_ids[] = { | 409 | static const struct of_device_id fsl_dspi_dt_ids[] = { |
410 | { .compatible = "fsl,vf610-dspi", .data = NULL, }, | 410 | { .compatible = "fsl,vf610-dspi", .data = NULL, }, |
411 | { /* sentinel */ } | 411 | { /* sentinel */ } |
412 | }; | 412 | }; |