diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 17:50:23 +0900 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-05-20 16:35:30 -0700 |
commit | cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6 (patch) | |
tree | cb696962494993bca4050459beca4b0695e472f5 /drivers/mtd | |
parent | 17754ad693a5d1e906219cc528f859c02482cca7 (diff) | |
download | op-kernel-dev-cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6.zip op-kernel-dev-cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6.tar.gz |
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 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", }, {}, }; |