diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2019-11-05 06:27:45 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-11-11 20:43:07 +0100 |
commit | bcc156e2289d35673928fecf85c798a9d55f0b14 (patch) | |
tree | 0640fd63f3427d0ad8499f39bb8d2652ada52814 /drivers/i2c | |
parent | i2c: stm32f7: fix & reorder remove & probe error handling (diff) | |
download | linux-bcc156e2289d35673928fecf85c798a9d55f0b14.tar.xz linux-bcc156e2289d35673928fecf85c798a9d55f0b14.zip |
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: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-xiic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index 37b3b9307d07..d8d49f1814c7 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c @@ -46,6 +46,7 @@ enum xiic_endian { /** * struct xiic_i2c - Internal representation of the XIIC I2C bus + * @dev: Pointer to device structure * @base: Memory base of the HW registers * @wait: Wait queue for callers * @adap: Kernel adapter representation @@ -57,6 +58,7 @@ enum xiic_endian { * @rx_msg: Current RX message * @rx_pos: Position within current RX message * @endianness: big/little-endian byte order + * @clk: Pointer to AXI4-lite input clock */ struct xiic_i2c { struct device *dev; |