Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80d26236 authored by Sudeep Dutt's avatar Sudeep Dutt Committed by Greg Kroah-Hartman
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAshutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: default avatarDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: default avatarNikhil Rao <nikhil.rao@intel.com>
Signed-off-by: default avatarHarshavardhan R Kharche <harshavardhan.r.kharche@intel.com>
Signed-off-by: default avatarSudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b019ba95
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@ comment "Intel MIC Host Driver"


config INTEL_MIC_HOST
config INTEL_MIC_HOST
	tristate "Intel MIC Host Driver"
	tristate "Intel MIC Host Driver"
	depends on 64BIT && PCI
	depends on 64BIT && PCI && X86
	select VHOST_RING
	select VHOST_RING
	default N
	default N
	help
	help
@@ -23,7 +23,7 @@ comment "Intel MIC Card Driver"


config INTEL_MIC_CARD
config INTEL_MIC_CARD
	tristate "Intel MIC Card Driver"
	tristate "Intel MIC Card Driver"
	depends on 64BIT
	depends on 64BIT && X86
	select VIRTIO
	select VIRTIO
	default N
	default N
	help
	help