Re: [PATCH] SPI: OMAP: remove unnecessary includes of plat/clock.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
>
> Signed-off-by: Paul Walmsley <paul@xxxxxxxxx>
> Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
> ---
>  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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux