* [PATCH] SPI: OMAP: remove unnecessary includes of plat/clock.h
@ 2012-09-11 23:31 Paul Walmsley
2012-09-12 5:28 ` Shubhrajyoti
0 siblings, 1 reply; 2+ messages in thread
From: Paul Walmsley @ 2012-09-11 23:31 UTC (permalink / raw)
To: Grant Likely; +Cc: spi-devel-general, linux-omap, linux-arm-kernel
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.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
---
drivers/spi/spi-omap-100k.c | 2 --
drivers/spi/spi-omap2-mcspi.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
index 9bd1c92..dfb4b7f 100644
--- a/drivers/spi/spi-omap-100k.c
+++ b/drivers/spi/spi-omap-100k.c
@@ -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)
diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c
index b2fb141..b5d6994 100644
--- a/drivers/spi/spi-omap2-mcspi.c
+++ b/drivers/spi/spi-omap2-mcspi.c
@@ -41,7 +41,6 @@
#include <linux/spi/spi.h>
-#include <plat/clock.h>
#include <plat/mcspi.h>
#define OMAP2_MCSPI_MAX_FREQ 48000000
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] SPI: OMAP: remove unnecessary includes of plat/clock.h
2012-09-11 23:31 [PATCH] SPI: OMAP: remove unnecessary includes of plat/clock.h Paul Walmsley
@ 2012-09-12 5:28 ` Shubhrajyoti
0 siblings, 0 replies; 2+ messages in thread
From: Shubhrajyoti @ 2012-09-12 5:28 UTC (permalink / raw)
To: Paul Walmsley
Cc: Grant Likely, spi-devel-general, linux-omap, linux-arm-kernel
On Wednesday 12 September 2012 05:01 AM, Paul Walmsley wrote:
> 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
Acked-by: Shubhrajyoti D <shubhrajyoti@ti.com>
>
> Signed-off-by: Paul Walmsley <paul@pwsan.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> ---
> drivers/spi/spi-omap-100k.c | 2 --
> drivers/spi/spi-omap2-mcspi.c | 1 -
> 2 files changed, 3 deletions(-)
>
> diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
> index 9bd1c92..dfb4b7f 100644
> --- a/drivers/spi/spi-omap-100k.c
> +++ b/drivers/spi/spi-omap-100k.c
> @@ -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)
> diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c
> index b2fb141..b5d6994 100644
> --- a/drivers/spi/spi-omap2-mcspi.c
> +++ b/drivers/spi/spi-omap2-mcspi.c
> @@ -41,7 +41,6 @@
>
> #include <linux/spi/spi.h>
>
> -#include <plat/clock.h>
> #include <plat/mcspi.h>
>
> #define OMAP2_MCSPI_MAX_FREQ 48000000
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-12 5:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-11 23:31 [PATCH] SPI: OMAP: remove unnecessary includes of plat/clock.h Paul Walmsley
2012-09-12 5:28 ` Shubhrajyoti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).