Remove duplicated headers in SPI subsystem: drivers/spi/spi_butterfly.c: linux/spi/spi_bitbang.h is included more than once. drivers/spi/spi_lm70llp.c: linux/spi/spi_bitbang.h is included more than once. drivers/spi/spi_s3c24xx_gpio.c: linux/spi/spi_bitbang.h is included more than once.
Signed-off-by: Francisco Alecrim <[EMAIL PROTECTED]> --- drivers/spi/spi_butterfly.c | 1 - drivers/spi/spi_lm70llp.c | 1 - drivers/spi/spi_s3c24xx_gpio.c | 1 - 3 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi_butterfly.c b/drivers/spi/spi_butterfly.c index 0ee2b20..54eed48 100644 --- a/drivers/spi/spi_butterfly.c +++ b/drivers/spi/spi_butterfly.c @@ -150,7 +150,6 @@ static void butterfly_chipselect(struct spi_device *spi, int value) //#define spidelay ndelay #define EXPAND_BITBANG_TXRX -#include <linux/spi/spi_bitbang.h> static u32 butterfly_txrx_word_mode0(struct spi_device *spi, diff --git a/drivers/spi/spi_lm70llp.c b/drivers/spi/spi_lm70llp.c index 39d8d8a..9128ed5 100644 --- a/drivers/spi/spi_lm70llp.c +++ b/drivers/spi/spi_lm70llp.c @@ -167,7 +167,6 @@ static inline int getmiso(struct spi_device *s) /*--------------------------------------------------------------------*/ #define EXPAND_BITBANG_TXRX 1 -#include <linux/spi/spi_bitbang.h> static void lm70_chipselect(struct spi_device *spi, int value) { diff --git a/drivers/spi/spi_s3c24xx_gpio.c b/drivers/spi/spi_s3c24xx_gpio.c index 109d82c..fe6aff7 100644 --- a/drivers/spi/spi_s3c24xx_gpio.c +++ b/drivers/spi/spi_s3c24xx_gpio.c @@ -58,7 +58,6 @@ static inline u32 getmiso(struct spi_device *dev) #define spidelay(x) ndelay(x) #define EXPAND_BITBANG_TXRX -#include <linux/spi/spi_bitbang.h> static u32 s3c2410_spigpio_txrx_mode0(struct spi_device *spi, -- 1.5.3.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/