]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: kernel: vpe: Make vpe_attrs an array of pointers.
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 11 Sep 2013 12:17:52 +0000 (13:17 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 Sep 2013 13:12:48 +0000 (15:12 +0200)
commite865a3c3956ab4f737abfe0d3c857d5bfdf2bc12
tree245fb28d8b02c2606fc63875acfcd9b507402b4e
parente50beb3db7d88cbe45e13c9801c180b1f9dc1ce7
MIPS: kernel: vpe: Make vpe_attrs an array of pointers.

Commit 8a6546c300069895e9339ba4e4d32b2c714180c3
"mips: convert vpe_class to use dev_groups"

broke the build on MIPS since vpe_attrs should be an array
of 'struct device_attribute' pointers.

Fixes the following build problem:
arch/mips/kernel/vpe.c:1372:2: error: missing braces around initializer
[-Werror=missing-braces]
arch/mips/kernel/vpe.c:1372:2: error: (near initialization for 'vpe_attrs[0]')
[-Werror=missing-braces]

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5819/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vpe.c