Skip to content

Commit

Permalink
mtd: orion_nand: Make of_device_id array const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Brian Norris committed May 20, 2014
1 parent 17754ad commit cb3346a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/orion_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{},
};
Expand Down

0 comments on commit cb3346a

Please sign in to comment.