Skip to contentSkip to conversation

SPI: OMAP: remove unnecessary includes of plat/clock.h

PATCH New Paul Walmsley 2 participants 2 messages Sep 11, 2012 – Sep 12, 2012 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SPI: OMAP: remove unnecessary includes of plat/clock.h

Remove unnecessary includes of plat/clock.h from the OMAP SPI controller drivers. These need to be removed to build multi-subarch ARM kernels which include these drivers.

---
 drivers/spi/spi-omap-100k.c   |    2 --
 drivers/spi/spi-omap2-mcspi.c |    1 -
 2 files changed, 3 deletions(-)
drivers/spi/spi-omap-100k.c +0 -2
index 9bd1c92..dfb4b7f 100644
@@ -37,8 +37,6 @@
 
 #include <linux/spi/spi.h>
 
-#include <plat/clock.h>
-
 #define OMAP1_SPI100K_MAX_FREQ          48000000
 
 #define ICR_SPITAS      (OMAP7XX_ICR_BASE + 0x12)
drivers/spi/spi-omap2-mcspi.c +0 -1
index b2fb141..b5d6994 100644
@@ -41,7 +41,6 @@
 
 #include <linux/spi/spi.h>
 
-#include <plat/clock.h>
 #include <plat/mcspi.h>
 
 #define OMAP2_MCSPI_MAX_FREQ		48000000
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 SPI: OMAP: remove unnecessary includes of plat/clock.h

Quoted 3 lines · Paul Walmsley

Remove unnecessary includes of plat/clock.h from the OMAP SPI controller drivers. These need to be removed to build multi-subarch ARM kernels which include these drivers.

Looks good to me

Quoted 33 lines
---
 drivers/spi/spi-omap-100k.c   |    2 --
 drivers/spi/spi-omap2-mcspi.c |    1 -
 2 files changed, 3 deletions(-)
drivers/spi/spi-omap-100k.c +0 -2
index 9bd1c92..dfb4b7f 100644
@@ -37,8 +37,6 @@
 
 #include <linux/spi/spi.h>
 
-#include <plat/clock.h>
-
 #define OMAP1_SPI100K_MAX_FREQ          48000000
 
 #define ICR_SPITAS      (OMAP7XX_ICR_BASE + 0x12)
drivers/spi/spi-omap2-mcspi.c +0 -1
index b2fb141..b5d6994 100644
@@ -41,7 +41,6 @@
 
 #include <linux/spi/spi.h>
 
-#include <plat/clock.h>
 #include <plat/mcspi.h>
 
 #define OMAP2_MCSPI_MAX_FREQ		48000000