From: Ken Cox Date: Mon, 30 Jun 2014 13:06:33 +0000 (-0500) Subject: Staging:unisys: Add Kconfig dependency on UNISYS_VISORUTIL to UNISYS_CHANNELSTUB X-Git-Tag: firefly_0821_release~176^2~3491^2~1258 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=55afa336f97f5790fccc0434f778f6845e1913cd;p=firefly-linux-kernel-4.4.55.git Staging:unisys: Add Kconfig dependency on UNISYS_VISORUTIL to UNISYS_CHANNELSTUB 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 Signed-off-by: Ken Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/channels/Kconfig b/drivers/staging/unisys/channels/Kconfig index 47a235385567..179c6cea2824 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.