diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 10:50:23 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-05-21 01:35:30 +0200 |
commit | cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6 (patch) | |
tree | cb696962494993bca4050459beca4b0695e472f5 /drivers/mtd/nand/orion_nand.c | |
parent | mtd: nand: pxa3xx: Make of_device_id array const (diff) | |
download | linux-cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6.tar.xz linux-cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6.zip |
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 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", }, {}, }; |