[PATCH] misc: altera-stapl: drop Kconfig comment
From: Randy Dunlap
Date: Thu Sep 21 2017 - 19:27:07 EST
From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
Cc: Igor M. Liplianin <liplianin@xxxxxxxx>
---
drivers/misc/altera-stapl/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- lnx-414-rc1.orig/drivers/misc/altera-stapl/Kconfig
+++ lnx-414-rc1/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"