Hello, This seems to be a GCC bug that has been fixed in versions 4.6+. Regards, Cristina ________________________________________ From: vinsonl@xxxxxxxxx [vinsonl@xxxxxxxxx] on behalf of Vinson Lee [vlee@xxxxxxxxxxxxxxx] Sent: Wednesday, May 11, 2016 10:10 PM To: Mika Westerberg; Heikki Krogerus; Ciocan, Cristina; Linus Walleij Cc: linux-gpio@xxxxxxxxxxxxxxx Subject: linux-next build error "pinctrl-baytrail.c:413: error: unknown field ‘simple_funcs’ specified in initializer" Hi. I am hitting this build failure on linux-next with GCC 4.4 introduced with commit c8f5c4c7c82c9 "pinctrl: baytrail: Add pin control data structures". CC drivers/pinctrl/intel/pinctrl-baytrail.o drivers/pinctrl/intel/pinctrl-baytrail.c:413: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:413: warning: missing braces around initializer drivers/pinctrl/intel/pinctrl-baytrail.c:413: warning: (near initialization for ‘byt_score_groups[0].<anonymous>’) drivers/pinctrl/intel/pinctrl-baytrail.c:415: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:417: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:419: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:421: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:423: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:425: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:427: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:429: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:431: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:433: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:435: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:437: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:439: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:441: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:443: error: unknown field ‘mixed_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:443: warning: initialization from incompatible pointer type drivers/pinctrl/intel/pinctrl-baytrail.c:445: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:447: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:449: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:451: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:453: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:455: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:457: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:459: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:461: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:463: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:465: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:618: error: unknown field ‘simple_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:618: warning: missing braces around initializer drivers/pinctrl/intel/pinctrl-baytrail.c:618: warning: (near initialization for ‘byt_sus_groups[0].<anonymous>’) drivers/pinctrl/intel/pinctrl-baytrail.c:620: error: unknown field ‘mixed_funcs’ specified in initializer drivers/pinctrl/intel/pinctrl-baytrail.c:620: warning: initialization from incompatible pointer type drivers/pinctrl/intel/pinctrl-baytrail.c:622: error: unknown field ‘simple_funcs’ specified in initializer Cheers, Vinson -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html