From 06b6f1c623122bcf28f5a75b89862a68b9c884eb Mon Sep 17 00:00:00 2001
From: Randy Dunlap <rdunlap@infradead.org>
Date: Thu, 21 Sep 2017 16:26:29 -0700
Subject: [PATCH] misc: altera-stapl: drop Kconfig comment

When I2C is enabled, the comment string for "Altera FPGA firmware
download module" adds no new information or value.  It is only useful
and interesting when I2C is not enabled.  In that case, have it
show that I2C is needed for that module.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/misc/altera-stapl/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/misc/altera-stapl/Kconfig b/drivers/misc/altera-stapl/Kconfig
index 7f01d8e939922..8a828fe41fadb 100644
--- a/drivers/misc/altera-stapl/Kconfig
+++ b/drivers/misc/altera-stapl/Kconfig
@@ -1,4 +1,5 @@
-comment "Altera FPGA firmware download module"
+comment "Altera FPGA firmware download module (requires I2C)"
+	depends on !I2C
 
 config ALTERA_STAPL
 	tristate "Altera FPGA firmware download module"
-- 
GitLab