Staging: hv: force hyper-v drivers to be built as a module

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, September 16, 2009 - 9:05 am

Gitweb:     http://git.kernel.org/linus/222076b681cb59ec0bcaf10075ecb9e05f3810b4
Commit:     222076b681cb59ec0bcaf10075ecb9e05f3810b4
Parent:     06da0bc86565765cb6bf2fd85dbdeeea88095051
Author:     Greg Kroah-Hartman <gregkh@suse.de>
AuthorDate: Mon Jul 27 09:17:51 2009 -0700
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Sep 15 12:01:49 2009 -0700

    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>
---
 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.
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: hv: force hyper-v drivers to be built as a module, Linux Kernel Mailing ..., (Wed Sep 16, 9:05 am)