Peter De Schrijver wrote at Wednesday, September 28, 2011 4:30 PM: ... > diff --git a/arch/arm/mach-tegra/board-dt.c b/arch/arm/mach-tegra/board-dt.c ... > @@ -80,9 +80,19 @@ static struct of_device_id tegra_dt_gic_match[] __initdata = { > {} > }; > > +static struct { > + char *machine; > + void (*init)(void); > +} pinmux_configs[] = { > + { "nvidia,harmony", harmony_pinmux_init() }, > + { "nvidia,seaboard", seaboard_pinmux_init() }, > + { "nvidia,ventana", ventana_pinmux_init() }, > +}; Do you want the brackets after the function names there? Locally, they cause the following syntax errors during compilation: arch/arm/mach-tegra/board-dt.c:85: error: initializer element is not constant arch/arm/mach-tegra/board-dt.c:85: error: (near initialization for 'pinmux_configs[0].init') arch/arm/mach-tegra/board-dt.c:86: error: initializer element is not constant arch/arm/mach-tegra/board-dt.c:86: error: (near initialization for 'pinmux_configs[1].init') arch/arm/mach-tegra/board-dt.c:87: error: initializer element is not constant arch/arm/mach-tegra/board-dt.c:87: error: (near initialization for 'pinmux_configs[2].init') (using gcc version 4.4.3 (gcc-4.4.3_cos_gg_51096)) -- nvpublic -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html