linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: debugfs: Update struct debugfs_reg32 definition
@ 2020-05-08 21:29 Rikard Falkeborn
  2020-05-15 17:31 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Rikard Falkeborn @ 2020-05-08 21:29 UTC (permalink / raw)
  To: linux-doc; +Cc: linux-kernel, corbet, Rikard Falkeborn

Update the docs to match the implementation, both the definition of
struct debugfs_regset32 and the definition of debugfs_print_regs32().

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
---
 Documentation/filesystems/debugfs.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/filesystems/debugfs.rst b/Documentation/filesystems/debugfs.rst
index 6c032db235a5..1da7a4b7383d 100644
--- a/Documentation/filesystems/debugfs.rst
+++ b/Documentation/filesystems/debugfs.rst
@@ -166,16 +166,17 @@ file::
     };
 
     struct debugfs_regset32 {
-	struct debugfs_reg32 *regs;
+	const struct debugfs_reg32 *regs;
 	int nregs;
 	void __iomem *base;
+	struct device *dev;     /* Optional device for Runtime PM */
     };
 
     debugfs_create_regset32(const char *name, umode_t mode,
 			    struct dentry *parent,
 			    struct debugfs_regset32 *regset);
 
-    void debugfs_print_regs32(struct seq_file *s, struct debugfs_reg32 *regs,
+    void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
 			 int nregs, void __iomem *base, char *prefix);
 
 The "base" argument may be 0, but you may want to build the reg32 array
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: debugfs: Update struct debugfs_reg32 definition
  2020-05-08 21:29 [PATCH] docs: debugfs: Update struct debugfs_reg32 definition Rikard Falkeborn
@ 2020-05-15 17:31 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2020-05-15 17:31 UTC (permalink / raw)
  To: Rikard Falkeborn; +Cc: linux-doc, linux-kernel

On Fri,  8 May 2020 23:29:49 +0200
Rikard Falkeborn <rikard.falkeborn@gmail.com> wrote:

> Update the docs to match the implementation, both the definition of
> struct debugfs_regset32 and the definition of debugfs_print_regs32().
> 
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-15 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 21:29 [PATCH] docs: debugfs: Update struct debugfs_reg32 definition Rikard Falkeborn
2020-05-15 17:31 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).