Message ID | 20190201101715.3760-9-sr@denx.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 98e9400a63d9aee6c4db5698653f47c18915afea |
Headers | show |
Series | [1/9,v3] staging: spi: mt7621: Switch to SPDX identifier | expand |
On Fri, Feb 01 2019, Stefan Roese wrote: > This patch removes the superfluous pre-declaration of struct mt7621_spi. > > Signed-off-by: Stefan Roese <sr@denx.de> > Cc: Mark Brown <broonie@kernel.org> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: NeilBrown <neil@brown.name> > Cc: Sankalp Negi <sankalpnegi2310@gmail.com> > Cc: Chuanhong Guo <gch981213@gmail.com> > Cc: John Crispin <john@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 Thanks, this and all previous patches in the series Review-by: NeilBrown <neil@brown.name> (compile-tested too :-) NeilBrown
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;
This patch removes the superfluous pre-declaration of struct mt7621_spi. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Mark Brown <broonie@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: NeilBrown <neil@brown.name> Cc: Sankalp Negi <sankalpnegi2310@gmail.com> Cc: Chuanhong Guo <gch981213@gmail.com> Cc: John Crispin <john@phrozen.org> --- v3: - New patch, changes spilt into separate patches drivers/staging/mt7621-spi/spi-mt7621.c | 2 -- 1 file changed, 2 deletions(-)