public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/3] mtd: st_spi_fsm: Make of_device_id array const
@ 2014-05-07  8:46 Jingoo Han
  2014-05-07  8:49 ` [PATCH 2/3] mtd: nand: pxa3xx: " Jingoo Han
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jingoo Han @ 2014-05-07  8:46 UTC (permalink / raw)
  To: 'Brian Norris'
  Cc: linux-mtd, 'Lee Jones', 'Jingoo Han',
	'David Woodhouse'

Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/mtd/devices/st_spi_fsm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c
index f97fe14..d252514 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", },
 	{},
 };
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-12 23:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07  8:46 [PATCH 1/3] mtd: st_spi_fsm: Make of_device_id array const Jingoo Han
2014-05-07  8:49 ` [PATCH 2/3] mtd: nand: pxa3xx: " Jingoo Han
2014-05-07 12:49   ` Jason Cooper
2014-05-07 19:37     ` 'Ezequiel Garcia'
2014-05-07  8:50 ` [PATCH 3/3] mtd: orion_nand: " Jingoo Han
2014-05-07 13:41   ` Andrew Lunn
2014-05-12 23:21 ` [PATCH 1/3] mtd: st_spi_fsm: " Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox