Commit d6644a1c authored by Wan Jiabing's avatar Wan Jiabing Committed by Mark Brown

spi: Remove repeated struct declaration

struct spi_transfer is declared twice. One is declared at 24th line.
The blew one is not needed though. Remove the duplicate.
Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20210401065904.994121-1-wanjiabing@vivo.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent e6674508
...@@ -247,7 +247,6 @@ static inline void *spi_get_drvdata(struct spi_device *spi) ...@@ -247,7 +247,6 @@ static inline void *spi_get_drvdata(struct spi_device *spi)
} }
struct spi_message; struct spi_message;
struct spi_transfer;
/** /**
* struct spi_driver - Host side "protocol" driver * struct spi_driver - Host side "protocol" driver
......
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