From: Randy Dunlap <rdun...@infradead.org>

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 <rdun...@infradead.org>
Cc: Igor M. Liplianin <liplia...@netup.ru>
---
 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"

Reply via email to