MIPS: Kconfig: Add missing MODULES dependency to VPE_LOADER
authorMarkos Chandras <markos.chandras@imgtec.com>
Fri, 28 Jun 2013 11:25:27 +0000 (11:25 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 2 Jul 2013 14:01:14 +0000 (16:01 +0200)
commit704e6460ab75af0735b1ca7c0dcaa4ff0a4001b2
tree76ee965d07c788549ab258a8f49018f713929106
parent7aa2d05299f92ab73591988ab514f0ddc98138f3
MIPS: Kconfig: Add missing MODULES dependency to VPE_LOADER

The vpe.c code uses the 'struct module' which is only available if
CONFIG_MODULES is selected.

Also fixes the following build problem on a lantiq allmodconfig:
In file included from arch/mips/kernel/vpe.c:41:0:
include/linux/moduleloader.h: In function 'apply_relocate':
include/linux/moduleloader.h:48:63: error: dereferencing pointer
to incomplete type
include/linux/moduleloader.h: In function 'apply_relocate_add':
include/linux/moduleloader.h:70:63: error: dereferencing pointer
to incomplete type

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5562/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig