The visorchannelstub module references the variable unisys_spar_platform which is declared in the visorutil module. Add the proper dependency to Kconfig to ensure that visorutil is enabled when building visorchannelstub. This address the build error: drivers/built-in.o: In function `channel_mod_init': chanstub.c:(.init.text+0xbe24): undefined reference to `unisys_spar_platform' Reported by: kbuild test robot <fengguang.wu@xxxxxxxxx> Signed-off-by: Ken Cox <jkc@xxxxxxxxxx> --- drivers/staging/unisys/channels/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/channels/Kconfig b/drivers/staging/unisys/channels/Kconfig index 47a2353..179c6ce 100644 --- a/drivers/staging/unisys/channels/Kconfig +++ b/drivers/staging/unisys/channels/Kconfig @@ -4,7 +4,7 @@ config UNISYS_CHANNELSTUB tristate "Unisys channelstub driver" - depends on UNISYSSPAR + depends on UNISYSSPAR && UNISYS_VISORUTIL ---help--- If you say Y here, you will enable the Unisys channels driver. -- 1.9.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel