From: Stefan Roese Date: Fri, 1 Feb 2019 10:17:15 +0000 (+0100) Subject: staging: spi: mt7621: Remove superfluous pre-declaration of struct mt7621_spi X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~5215^2~131 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=98e9400a63d9aee6c4db5698653f47c18915afea;p=linux.git staging: spi: mt7621: Remove superfluous pre-declaration of struct mt7621_spi This patch removes the superfluous pre-declaration of struct mt7621_spi. Signed-off-by: Stefan Roese Cc: Mark Brown Cc: NeilBrown Cc: Sankalp Negi Cc: Chuanhong Guo Cc: John Crispin Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- 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;