[PATCH] firmware: arm_scpi: Add hardware dependencies

From: Jean Delvare
Date: Wed Jan 25 2017 - 08:32:20 EST


With a name like that, I assume that the ARM SCPI protocol is only
useful on the ARM architectures.

Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
Fixes: 8f1498c03d15 ("firmware: arm_scpi: make it depend on MAILBOX instead of")
Cc: Sudeep Holla <sudeep.holla@xxxxxxx>
Cc: Jon Medhurst (Tixy) <tixy@xxxxxxxxxx>
---
Please correct me if I'm wrong.

drivers/firmware/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-4.10-rc5.orig/drivers/firmware/Kconfig 2017-01-01 23:31:53.000000000 +0100
+++ linux-4.10-rc5/drivers/firmware/Kconfig 2017-01-25 14:19:36.875930416 +0100
@@ -21,6 +21,7 @@ config ARM_PSCI_CHECKER

config ARM_SCPI_PROTOCOL
tristate "ARM System Control and Power Interface (SCPI) Message Protocol"
+ depends on ARM || ARM64 || COMPILE_TEST
depends on MAILBOX
help
System Control and Power Interface (SCPI) Message Protocol is


--
Jean Delvare
SUSE L3 Support