[PATCH] pinctrl: tegra: add missing kerneldoc

Stephen Warren swarren at wwwdotorg.org
Tue Apr 15 10:02:03 PDT 2014


From: Stephen Warren <swarren at nvidia.com>

The kerneldoc for struct tegra_pingroup didn't describe all of the fields
in the struct. Add some extra kerneldoc to fix that.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
This depends on the 4-long series I sent yesterday, for patch context.

 drivers/pinctrl/pinctrl-tegra.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/pinctrl/pinctrl-tegra.h b/drivers/pinctrl/pinctrl-tegra.h
index 24c5a91230bb..8d94d1332e7b 100644
--- a/drivers/pinctrl/pinctrl-tegra.h
+++ b/drivers/pinctrl/pinctrl-tegra.h
@@ -78,6 +78,10 @@ struct tegra_function {
 
 /**
  * struct tegra_pingroup - Tegra pin group
+ * @name		The name of the pin group.
+ * @pins		An array of pin IDs included in this pin group.
+ * @npins		The number of entries in @pins.
+ * @funcs		The mux functions which can be muxed onto this group.
  * @mux_reg:		Mux register offset.
  *			This register contains the mux, einput, odrain, lock,
  *			ioreset, rcv_sel parameters.
-- 
1.8.1.5




More information about the linux-arm-kernel mailing list