public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv1] firmware: intel_stratix10_service: add hardware dependency
@ 2019-01-23 15:47 richard.gong
  2019-01-23 16:00 ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: richard.gong @ 2019-01-23 15:47 UTC (permalink / raw)
  To: gregkh
  Cc: atull, dinguyen, linux-kernel, todd.riffel, richard.gong,
	Richard Gong

From: Richard Gong <richard.gong@intel.com>

Add a Kconfig dependency to ensure Intel Stratix10 service layer driver
can be built only on the platform that supports it.

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 drivers/firmware/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index f754578..cac16c4 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -218,7 +218,7 @@ config FW_CFG_SYSFS_CMDLINE
 
 config INTEL_STRATIX10_SERVICE
 	tristate "Intel Stratix10 Service Layer"
-	depends on HAVE_ARM_SMCCC
+	depends on ARCH_STRATIX10 && HAVE_ARM_SMCCC
 	default n
 	help
 	  Intel Stratix10 service layer runs at privileged exception level,
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-23 17:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23 15:47 [PATCHv1] firmware: intel_stratix10_service: add hardware dependency richard.gong
2019-01-23 16:00 ` Greg KH
2019-01-23 16:37   ` Alan Tull
2019-01-23 16:42     ` Dinh Nguyen
2019-01-23 17:01       ` Alan Tull
2019-01-23 17:04         ` Dinh Nguyen
2019-01-23 16:43     ` Greg KH
2019-01-23 16:59       ` Richard Gong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox