[PATCH v2 09/20] frv: fix compiler warning from definition of __pmd()

2015-10-09 Thread Dan Williams
Take into account that the pmd_t type is a array inside a struct, so it needs two levels of brackets to initialize. Otherwise, a usage of __pmd generates a warning: include/linux/mm.h:986:2: warning: missing braces around initializer [-Wmissing-braces] Signed-off-by: Dan Williams ---

[PATCH v2 09/20] frv: fix compiler warning from definition of __pmd()

2015-10-09 Thread Dan Williams
Take into account that the pmd_t type is a array inside a struct, so it needs two levels of brackets to initialize. Otherwise, a usage of __pmd generates a warning: include/linux/mm.h:986:2: warning: missing braces around initializer [-Wmissing-braces] Signed-off-by: Dan Williams