]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: spi: mt7621: Remove superfluous pre-declaration of struct mt7621_spi
authorStefan Roese <sr@denx.de>
Fri, 1 Feb 2019 10:17:15 +0000 (11:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2019 11:34:37 +0000 (12:34 +0100)
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: NeilBrown <neil@brown.name>
Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
Cc: Chuanhong Guo <gch981213@gmail.com>
Cc: John Crispin <john@phrozen.org>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-spi/spi-mt7621.c

index d6385220b796b116a4b531ce53d30b528374ca1f..167d0f09823b1cf47bcbd13ae3440bfa8f99ddb2 100644 (file)
@@ -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;