|
@@ -157,7 +157,7 @@ static int ft_enable_by_compatible(void *blob, char *compat, int enable)
|
|
|
int ft_board_setup(void *blob, bd_t *bd)
|
|
|
{
|
|
|
#ifdef CONFIG_FDT_FIXUP_PARTITIONS
|
|
|
- static struct node_info nodes[] = {
|
|
|
+ static const struct node_info nodes[] = {
|
|
|
{ "ti,omap2-nand", MTD_DEV_TYPE_NAND, },
|
|
|
{ "ti,omap2-onenand", MTD_DEV_TYPE_ONENAND, },
|
|
|
};
|