diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 08:50:23 (GMT) |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-05-20 23:35:30 (GMT) |
commit | cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6 (patch) | |
tree | cb696962494993bca4050459beca4b0695e472f5 /drivers/mtd/nand/orion_nand.c | |
parent | 17754ad693a5d1e906219cc528f859c02482cca7 (diff) | |
download | linux-cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6.tar.xz |
mtd: orion_nand: 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>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/orion_nand.c')
-rw-r--r-- | drivers/mtd/nand/orion_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index dd7fe81..471b4df 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c @@ -214,7 +214,7 @@ static int orion_nand_remove(struct platform_device *pdev) } #ifdef CONFIG_OF -static struct of_device_id orion_nand_of_match_table[] = { +static const struct of_device_id orion_nand_of_match_table[] = { { .compatible = "marvell,orion-nand", }, {}, }; |