diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 17:46:59 +0900 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-05-20 16:35:29 -0700 |
commit | aeea6eb4c0c172bbb410fe1b8efac6831a01fa19 (patch) | |
tree | 4edfbcf7e12c27b567e6f3ea41c3174439a780b8 /drivers/mtd | |
parent | f62cde49f9f02d6c205ab310b8fd4a29ddc49329 (diff) | |
download | blackbird-op-linux-aeea6eb4c0c172bbb410fe1b8efac6831a01fa19.tar.gz blackbird-op-linux-aeea6eb4c0c172bbb410fe1b8efac6831a01fa19.zip |
mtd: st_spi_fsm: 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: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/st_spi_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c index f97fe144077d..d252514d3e98 100644 --- a/drivers/mtd/devices/st_spi_fsm.c +++ b/drivers/mtd/devices/st_spi_fsm.c @@ -2058,7 +2058,7 @@ static int stfsm_remove(struct platform_device *pdev) return mtd_device_unregister(&fsm->mtd); } -static struct of_device_id stfsm_match[] = { +static const struct of_device_id stfsm_match[] = { { .compatible = "st,spi-fsm", }, {}, }; |