Re: [PATCH 3/5] ARM: OMAP: Move plat/omap-serial.h to include/linux/platform_data/serial-omap.h

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

 



On Wed, Nov 21, 2012 at 09:42:30AM -0800, Tony Lindgren wrote:
> We need to move this file to allow ARM multiplatform configurations
> to build for omap2+. This can now be done as this file now only
> contains platform_data.
> 
> cc: Russell King <linux@xxxxxxxxxxxxxxxx>
> cc: Alan Cox <alan@xxxxxxxxxxxxxxx>
> cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> cc: Govindraj.R <govindraj.raja@xxxxxx>
> cc: Kevin Hilman <khilman@xxxxxx>
> cc: Felipe Balbi <balbi@xxxxxx>
> cc: linux-serial@xxxxxxxxxxxxxxx
> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>

nice, thanks :-)

Reviewed-by: Felipe Balbi <balbi@xxxxxx>

> ---
>  arch/arm/mach-omap2/serial.c                  |    4 +---
>  drivers/tty/serial/omap-serial.c              |    3 +--
>  include/linux/platform_data/serial-omap.h     |    0 
>  3 files changed, 2 insertions(+), 5 deletions(-)
>  rename arch/arm/plat-omap/include/plat/omap-serial.h => include/linux/platform_data/serial-omap.h (100%)
> 
> diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
> index aa30a3c..25c799b 100644
> --- a/arch/arm/mach-omap2/serial.c
> +++ b/arch/arm/mach-omap2/serial.c
> @@ -26,9 +26,7 @@
>  #include <linux/slab.h>
>  #include <linux/pm_runtime.h>
>  #include <linux/console.h>
> -
> -#include <plat/omap-serial.h>
> -#include <plat-omap/dma-omap.h>
> +#include <linux/platform_data/serial-omap.h>
>  
>  #include "common.h"
>  #include "omap_hwmod.h"
> diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
> index 17babde..0240aa8 100644
> --- a/drivers/tty/serial/omap-serial.c
> +++ b/drivers/tty/serial/omap-serial.c
> @@ -41,8 +41,7 @@
>  #include <linux/of.h>
>  #include <linux/gpio.h>
>  #include <linux/pinctrl/consumer.h>
> -
> -#include <plat/omap-serial.h>
> +#include <linux/platform_data/serial-omap.h>
>  
>  #define OMAP_MAX_HSUART_PORTS	6
>  
> diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/include/linux/platform_data/serial-omap.h
> similarity index 100%
> rename from arch/arm/plat-omap/include/plat/omap-serial.h
> rename to include/linux/platform_data/serial-omap.h
> 

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux