Commit bcc156e2 authored by Shubhrajyoti Datta's avatar Shubhrajyoti Datta Committed by Wolfram Sang

i2c: xiic: Fix kerneldoc warnings

Fix the below warning by adding the description of clock and dev.

drivers/i2c/busses/i2c-xiic.c:57: info: Scanning doc for struct xiic_i2c
drivers/i2c/busses/i2c-xiic.c:84: warning: Function parameter or member
'dev' not described in 'xiic_i2c'
drivers/i2c/busses/i2c-xiic.c:84: warning: Function parameter or member
'clk' not described in 'xiic_i2c'
Signed-off-by: default avatarShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 53aaaa5d
...@@ -46,6 +46,7 @@ enum xiic_endian { ...@@ -46,6 +46,7 @@ enum xiic_endian {
/** /**
* struct xiic_i2c - Internal representation of the XIIC I2C bus * struct xiic_i2c - Internal representation of the XIIC I2C bus
* @dev: Pointer to device structure
* @base: Memory base of the HW registers * @base: Memory base of the HW registers
* @wait: Wait queue for callers * @wait: Wait queue for callers
* @adap: Kernel adapter representation * @adap: Kernel adapter representation
...@@ -57,6 +58,7 @@ enum xiic_endian { ...@@ -57,6 +58,7 @@ enum xiic_endian {
* @rx_msg: Current RX message * @rx_msg: Current RX message
* @rx_pos: Position within current RX message * @rx_pos: Position within current RX message
* @endianness: big/little-endian byte order * @endianness: big/little-endian byte order
* @clk: Pointer to AXI4-lite input clock
*/ */
struct xiic_i2c { struct xiic_i2c {
struct device *dev; struct device *dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment