From: Jingoo Han Date: Wed, 7 May 2014 08:50:23 +0000 (+0900) Subject: mtd: orion_nand: Make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb3346ac244652f6b70ab7312ec9ecde6ec4dbc6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Andrew Lunn Signed-off-by: Brian Norris --- 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", }, {}, };