diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 15:20:31 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-17 08:15:22 -0400 |
commit | 09355402325819675027eda25aba7026a325390c (patch) | |
tree | 72942cde0d13046b307aa1f2fd56bb140dfe854f /drivers/spi/spi-st-ssc4.c | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
spi: 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>
Diffstat (limited to 'drivers/spi/spi-st-ssc4.c')
-rw-r--r-- | drivers/spi/spi-st-ssc4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-st-ssc4.c b/drivers/spi/spi-st-ssc4.c index 2faeaa7b57a8..f17c0abe299f 100644 --- a/drivers/spi/spi-st-ssc4.c +++ b/drivers/spi/spi-st-ssc4.c | |||
@@ -482,7 +482,7 @@ static const struct dev_pm_ops spi_st_pm = { | |||
482 | SET_RUNTIME_PM_OPS(spi_st_runtime_suspend, spi_st_runtime_resume, NULL) | 482 | SET_RUNTIME_PM_OPS(spi_st_runtime_suspend, spi_st_runtime_resume, NULL) |
483 | }; | 483 | }; |
484 | 484 | ||
485 | static struct of_device_id stm_spi_match[] = { | 485 | static const struct of_device_id stm_spi_match[] = { |
486 | { .compatible = "st,comms-ssc4-spi", }, | 486 | { .compatible = "st,comms-ssc4-spi", }, |
487 | {}, | 487 | {}, |
488 | }; | 488 | }; |