This patch removes the superfluous pre-declaration of struct mt7621_spi.

Signed-off-by: Stefan Roese <s...@denx.de>
Cc: Mark Brown <broo...@kernel.org>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: NeilBrown <n...@brown.name>
Cc: Sankalp Negi <sankalpnegi2...@gmail.com>
Cc: Chuanhong Guo <gch981...@gmail.com>
Cc: John Crispin <j...@phrozen.org>
---
v3:
- New patch, changes spilt into separate patches

 drivers/staging/mt7621-spi/spi-mt7621.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c 
b/drivers/staging/mt7621-spi/spi-mt7621.c
index d6385220b796..167d0f09823b 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -51,8 +51,6 @@
 #define MT7621_CPOL            BIT(4)
 #define MT7621_LSB_FIRST       BIT(3)
 
-struct mt7621_spi;
-
 struct mt7621_spi {
        struct spi_master       *master;
        void __iomem            *base;
-- 
2.20.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to