aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/hv
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-27 09:17:51 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:49 -0700
commit222076b681cb59ec0bcaf10075ecb9e05f3810b4 (patch)
treebf0245b8308c1dfa6d75faa6621b2d57916b1be5 /drivers/staging/hv
parent06da0bc86565765cb6bf2fd85dbdeeea88095051 (diff)
Staging: hv: force hyper-v drivers to be built as a module
Right now they can not be built into the kernel due to global symbol name conflicts that this code is causing. Thanks to Nicolas Palix <npalix@diku.dk> for pointing this out. Reported-by: Nicolas Palix <npalix@diku.dk> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r--drivers/staging/hv/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/hv/Kconfig b/drivers/staging/hv/Kconfig
index 932bfd65789..226ed0ad2ca 100644
--- a/drivers/staging/hv/Kconfig
+++ b/drivers/staging/hv/Kconfig
@@ -1,6 +1,6 @@
config HYPERV
tristate "Microsoft Hyper-V client drivers"
- depends on X86
+ depends on X86 && m
default n
help
Select this option to run Linux as a Hyper-V client operating
@@ -8,21 +8,21 @@ config HYPERV
config HYPERV_STORAGE
tristate "Microsoft Hyper-V virtual storage driver"
- depends on SCSI
+ depends on SCSI && m
default n
help
Select this option to enable the Hyper-V virtual storage driver.
config HYPERV_BLOCK
tristate "Microsoft Hyper-V virtual block driver"
- depends on BLOCK
+ depends on BLOCK && m
default n
help
Select this option to enable the Hyper-V virtual block driver.
config HYPERV_NET
tristate "Microsoft Hyper-V virtual network driver"
- depends on NET
+ depends on NET && m
default n
help
Select this option to enable the Hyper-V virtual network driver.