mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
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>
This commit is contained in:
parent
17754ad693
commit
cb3346ac24
@ -214,7 +214,7 @@ static int orion_nand_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_OF
|
#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", },
|
{ .compatible = "marvell,orion-nand", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user