Re: [PATCH v3 3/5] drivers/soc/litex: add LiteX SoC Controller driver

From
Randy Dunlap <rdunlap@infradead.org>
Date
2020-02-25 16:16:03
Also in
linux-serial, lkml
Reply to
Mateusz Holenko, 2020-02-25
On 2/25/20 12:46 AM, Mateusz Holenko wrote:
quoted hunk ↗ jump to hunk
diff --git a/drivers/soc/litex/Kconfig b/drivers/soc/litex/Kconfig
new file mode 100644
index 000000000000..22c78cda0b83
--- /dev/null
+++ b/drivers/soc/litex/Kconfig
@@ -0,0 +1,14 @@
+# SPDX-License_Identifier: GPL-2.0
+
+menu "Enable LiteX SoC Builder specific drivers"
+
+config LITEX_SOC_CONTROLLER
+	tristate "Enable LiteX SoC Controller driver"
+	help
+	This option enables the SoC Controller Driver which verifies
+	LiteX CSR access and provides common litex_get_reg/litex_set_reg
+	accessors.
+	All drivers that use functions from litex.h must depend on
+	LITEX_SOC_CONTROLLER
Hi,
Please indent the help text with 2 additional spaces, as explained in the
coding-style.rst file:

10) Kconfig configuration files
-------------------------------

For all of the Kconfig* configuration files throughout the source tree,
the indentation is somewhat different.  Lines under a ``config`` definition
are indented with one tab, while help text is indented an additional two
spaces.  Example::

  config AUDIT
	bool "Auditing support"
	depends on NET
	help
	  Enable auditing infrastructure that can be used with another
	  kernel subsystem, such as SELinux (which requires this for
	  logging of avc messages output).  Does not do system-call
	  auditing without CONFIG_AUDITSYSCALL.
+
+endmenu
and then end the last line of the help text with a period ('.').

thanks.

-- 
~Randy
Thread (15 messages) 15 messages, 4 authors, last reply 2020-03-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help