[PATCH 204/641] Staging: hv: force hyper-v drivers to be built as a module
Greg Kroah-Hartman
gregkh at suse.de
Tue Sep 15 19:07:15 UTC 2009
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 at diku.dk> for pointing this out.
Reported-by: Nicolas Palix <npalix at diku.dk>
Cc: Hank Janssen <hjanssen at microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
drivers/staging/hv/Kconfig | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/hv/Kconfig b/drivers/staging/hv/Kconfig
index 932bfd6..226ed0a 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.
--
1.6.4.2
More information about the devel
mailing list