Commit 55afa336 authored by Ken Cox's avatar Ken Cox Committed by Greg Kroah-Hartman

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 <fengguang.wu@intel.com>
Signed-off-by: default avatarKen Cox <jkc@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4aa42291
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
config UNISYS_CHANNELSTUB config UNISYS_CHANNELSTUB
tristate "Unisys channelstub driver" tristate "Unisys channelstub driver"
depends on UNISYSSPAR depends on UNISYSSPAR && UNISYS_VISORUTIL
---help--- ---help---
If you say Y here, you will enable the Unisys channels driver. If you say Y here, you will enable the Unisys channels driver.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment