diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 12:50:23 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-05-21 03:35:30 +0400 |
commit | cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6 (patch) | |
tree | cb696962494993bca4050459beca4b0695e472f5 /drivers/mtd | |
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')
-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 dd7fe817eafb..471b4df3a5ac 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", }, {}, }; |