Commit aeea6eb4 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent f62cde49
...@@ -2058,7 +2058,7 @@ static int stfsm_remove(struct platform_device *pdev) ...@@ -2058,7 +2058,7 @@ static int stfsm_remove(struct platform_device *pdev)
return mtd_device_unregister(&fsm->mtd); 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", }, { .compatible = "st,spi-fsm", },
{}, {},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment