From: Sudeep Dutt Date: Fri, 27 Sep 2013 16:50:16 +0000 (-0700) Subject: misc: mic: depend on X86 for both host and card drivers. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80d26236c7c583ea2f43b68008ab7e067102c62c;p=linux-beck.git misc: mic: depend on X86 for both host and card drivers. This fixes build failures seen on certain non X86 architectures. The card driver should correctly always depend on X86. The host driver can potentially work on non X86 architectures although it has never been built or validated in such configurations. The host driver dependency on X86 can be removed at some point in the future but this workaround is required for now. Reported-by: Fengguang Wu Reported-by: Stephen Rothwell Signed-off-by: Ashutosh Dixit Signed-off-by: Dasaratharaman Chandramouli Signed-off-by: Nikhil Rao Signed-off-by: Harshavardhan R Kharche Signed-off-by: Sudeep Dutt Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/mic/Kconfig b/drivers/misc/mic/Kconfig index d453768e9cee..e42b331edbc6 100644 --- a/drivers/misc/mic/Kconfig +++ b/drivers/misc/mic/Kconfig @@ -2,7 +2,7 @@ comment "Intel MIC Host Driver" config INTEL_MIC_HOST tristate "Intel MIC Host Driver" - depends on 64BIT && PCI + depends on 64BIT && PCI && X86 select VHOST_RING default N help @@ -23,7 +23,7 @@ comment "Intel MIC Card Driver" config INTEL_MIC_CARD tristate "Intel MIC Card Driver" - depends on 64BIT + depends on 64BIT && X86 select VIRTIO default N help