[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230113063756.14071-1-rdunlap@infradead.org>
Date: Thu, 12 Jan 2023 22:37:56 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Krzysztof Adamski <krzysztof.adamski@...ia.com>,
Wolfram Sang <wsa@...nel.org>, linux-i2c@...r.kernel.org
Subject: [PATCH] i2c: axxia: use 'struct' for kernel-doc notation
Add "struct" to prevent this kernel-doc warning:
drivers/i2c/busses/i2c-axxia.c:135: warning: cannot understand function prototype: 'struct axxia_i2c_dev '
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Krzysztof Adamski <krzysztof.adamski@...ia.com>
Cc: Wolfram Sang <wsa@...nel.org>
Cc: linux-i2c@...r.kernel.org
---
drivers/i2c/busses/i2c-axxia.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c
--- a/drivers/i2c/busses/i2c-axxia.c
+++ b/drivers/i2c/busses/i2c-axxia.c
@@ -118,7 +118,7 @@
#define SDA_HOLD_TIME 0x90
/**
- * axxia_i2c_dev - I2C device context
+ * struct axxia_i2c_dev - I2C device context
* @base: pointer to register struct
* @msg: pointer to current message
* @msg_r: pointer to current read message (sequence transfer)
Powered by blists - more mailing lists