diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-01-19 14:53:49 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-01-19 15:09:52 +0300 |
commit | 93000719491581990a8a1094eaadbf3bdccf2a5f (patch) | |
tree | 07548a7954c90547b577ef513364a80f3acad335 /arch/mips/jazz/setup.c | |
parent | a3e6c1eff54878506b2dddcc202df9cc8180facb (diff) | |
download | linux-93000719491581990a8a1094eaadbf3bdccf2a5f.tar.xz |
MIPS: ARC: Fix build error.
[...]
struct component {
^
In file included from ./arch/mips/include/asm/sn/klconfig.h:58:0,
from ./arch/mips/include/asm/sn/module.h:12,
from ./arch/mips/include/asm/sn/node.h:8,
from ./arch/mips/include/asm/mach-ip35/mmzone.h:4,
from ./arch/mips/include/asm/mmzone.h:9,
from ./arch/mips/include/asm/mach-ip35/topology.h:7,
from ./arch/mips/include/asm/topology.h:11,
from include/linux/topology.h:35,
from include/linux/gfp.h:8,
from include/linux/device.h:29,
from drivers/base/component.c:14:
./arch/mips/include/asm/fw/arc/hinv.h:122:16: note: originally defined here
typedef struct component {
^
make[2]: *** [drivers/base/component.o] Error 1
make[2]: Target `__build' not remade because of errors.
make[1]: *** [drivers/base] Error 2
make[1]: Target `__build' not remade because of errors.
Fix by using an nameless struct definition in the COMPONENT definition.
Which is what the ARC spec uses anyway. While at it, do the same thing
for two other typedefs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/jazz/setup.c')
0 files changed, 0 insertions, 0 deletions