All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Russell King <linux@arm.linux.org.uk>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Vinod Koul <vinod.koul@intel.com>, Dan Williams <djbw@fb.com>
Subject: Re: [PATCH 01/16] ARM: at91: move platform_data definitions
Date: Tue, 11 Sep 2012 15:20:59 +0200	[thread overview]
Message-ID: <20120911132059.GG31430@game.jcrosoft.org> (raw)
In-Reply-To: <1347368390-31252-1-git-send-email-arnd@arndb.de>

On 14:59 Tue 11 Sep     , Arnd Bergmann wrote:
> Platform data for device drivers should be defined in
> include/linux/platform_data/*.h, not in the architecture
> and platform specific directories.
> 
> This moves such data out of the at91 include directories
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
> Cc: Vinod Koul <vinod.koul@intel.com>
> Cc: Dan Williams <djbw@fb.com>
> ---
>  arch/arm/mach-at91/at91sam9g45_devices.c                             |    2 +-
>  arch/arm/mach-at91/at91sam9rl_devices.c                              |    2 +-
>  arch/arm/mach-at91/include/mach/atmel-mci.h                          |    2 +-
>  drivers/dma/at_hdmac_regs.h                                          |    2 +-
>  include/linux/platform_data/atmel-aes.h                              |    2 +-
>  .../mach/at_hdmac.h => include/linux/platform_data/dma-atmel.h       |    0
>  6 files changed, 5 insertions(+), 5 deletions(-)
>  rename arch/arm/mach-at91/include/mach/at_hdmac.h => include/linux/platform_data/dma-atmel.h (100%)
> 
> diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c
> index 0607399..0aa9bdb 100644
> --- a/arch/arm/mach-at91/at91sam9g45_devices.c
> +++ b/arch/arm/mach-at91/at91sam9g45_devices.c
> @@ -31,7 +31,7 @@
>  #include <mach/at91sam9g45_matrix.h>
>  #include <mach/at91_matrix.h>
>  #include <mach/at91sam9_smc.h>
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  #include <mach/atmel-mci.h>
>  
>  #include <media/atmel-isi.h>
> diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c
> index f09fff9..e4da717 100644
> --- a/arch/arm/mach-at91/at91sam9rl_devices.c
> +++ b/arch/arm/mach-at91/at91sam9rl_devices.c
> @@ -22,7 +22,7 @@
>  #include <mach/at91sam9rl_matrix.h>
>  #include <mach/at91_matrix.h>
>  #include <mach/at91sam9_smc.h>
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
I prefer to have all of them in atmel.h

as I started

Best Regards,
J.
>  
>  #include "generic.h"
>  
> diff --git a/arch/arm/mach-at91/include/mach/atmel-mci.h b/arch/arm/mach-at91/include/mach/atmel-mci.h
> index 998cb0c..cd580a1 100644
> --- a/arch/arm/mach-at91/include/mach/atmel-mci.h
> +++ b/arch/arm/mach-at91/include/mach/atmel-mci.h
> @@ -1,7 +1,7 @@
>  #ifndef __MACH_ATMEL_MCI_H
>  #define __MACH_ATMEL_MCI_H
>  
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  
>  /**
>   * struct mci_dma_data - DMA data for MCI interface
> diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h
> index 8a6c8e8..116e4ad 100644
> --- a/drivers/dma/at_hdmac_regs.h
> +++ b/drivers/dma/at_hdmac_regs.h
> @@ -11,7 +11,7 @@
>  #ifndef AT_HDMAC_REGS_H
>  #define	AT_HDMAC_REGS_H
>  
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  
>  #define	AT_DMA_MAX_NR_CHANNELS	8
>  
> diff --git a/include/linux/platform_data/atmel-aes.h b/include/linux/platform_data/atmel-aes.h
> index e7a1949..ab68082 100644
> --- a/include/linux/platform_data/atmel-aes.h
> +++ b/include/linux/platform_data/atmel-aes.h
> @@ -1,7 +1,7 @@
>  #ifndef __LINUX_ATMEL_AES_H
>  #define __LINUX_ATMEL_AES_H
>  
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  
>  /**
>   * struct aes_dma_data - DMA data for AES
> diff --git a/arch/arm/mach-at91/include/mach/at_hdmac.h b/include/linux/platform_data/dma-atmel.h
> similarity index 100%
> rename from arch/arm/mach-at91/include/mach/at_hdmac.h
> rename to include/linux/platform_data/dma-atmel.h
> -- 
> 1.7.10
> 

WARNING: multiple messages have this Message-ID (diff)
From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/16] ARM: at91: move platform_data definitions
Date: Tue, 11 Sep 2012 15:20:59 +0200	[thread overview]
Message-ID: <20120911132059.GG31430@game.jcrosoft.org> (raw)
In-Reply-To: <1347368390-31252-1-git-send-email-arnd@arndb.de>

On 14:59 Tue 11 Sep     , Arnd Bergmann wrote:
> Platform data for device drivers should be defined in
> include/linux/platform_data/*.h, not in the architecture
> and platform specific directories.
> 
> This moves such data out of the at91 include directories
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
> Cc: Vinod Koul <vinod.koul@intel.com>
> Cc: Dan Williams <djbw@fb.com>
> ---
>  arch/arm/mach-at91/at91sam9g45_devices.c                             |    2 +-
>  arch/arm/mach-at91/at91sam9rl_devices.c                              |    2 +-
>  arch/arm/mach-at91/include/mach/atmel-mci.h                          |    2 +-
>  drivers/dma/at_hdmac_regs.h                                          |    2 +-
>  include/linux/platform_data/atmel-aes.h                              |    2 +-
>  .../mach/at_hdmac.h => include/linux/platform_data/dma-atmel.h       |    0
>  6 files changed, 5 insertions(+), 5 deletions(-)
>  rename arch/arm/mach-at91/include/mach/at_hdmac.h => include/linux/platform_data/dma-atmel.h (100%)
> 
> diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c
> index 0607399..0aa9bdb 100644
> --- a/arch/arm/mach-at91/at91sam9g45_devices.c
> +++ b/arch/arm/mach-at91/at91sam9g45_devices.c
> @@ -31,7 +31,7 @@
>  #include <mach/at91sam9g45_matrix.h>
>  #include <mach/at91_matrix.h>
>  #include <mach/at91sam9_smc.h>
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  #include <mach/atmel-mci.h>
>  
>  #include <media/atmel-isi.h>
> diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c
> index f09fff9..e4da717 100644
> --- a/arch/arm/mach-at91/at91sam9rl_devices.c
> +++ b/arch/arm/mach-at91/at91sam9rl_devices.c
> @@ -22,7 +22,7 @@
>  #include <mach/at91sam9rl_matrix.h>
>  #include <mach/at91_matrix.h>
>  #include <mach/at91sam9_smc.h>
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
I prefer to have all of them in atmel.h

as I started

Best Regards,
J.
>  
>  #include "generic.h"
>  
> diff --git a/arch/arm/mach-at91/include/mach/atmel-mci.h b/arch/arm/mach-at91/include/mach/atmel-mci.h
> index 998cb0c..cd580a1 100644
> --- a/arch/arm/mach-at91/include/mach/atmel-mci.h
> +++ b/arch/arm/mach-at91/include/mach/atmel-mci.h
> @@ -1,7 +1,7 @@
>  #ifndef __MACH_ATMEL_MCI_H
>  #define __MACH_ATMEL_MCI_H
>  
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  
>  /**
>   * struct mci_dma_data - DMA data for MCI interface
> diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h
> index 8a6c8e8..116e4ad 100644
> --- a/drivers/dma/at_hdmac_regs.h
> +++ b/drivers/dma/at_hdmac_regs.h
> @@ -11,7 +11,7 @@
>  #ifndef AT_HDMAC_REGS_H
>  #define	AT_HDMAC_REGS_H
>  
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  
>  #define	AT_DMA_MAX_NR_CHANNELS	8
>  
> diff --git a/include/linux/platform_data/atmel-aes.h b/include/linux/platform_data/atmel-aes.h
> index e7a1949..ab68082 100644
> --- a/include/linux/platform_data/atmel-aes.h
> +++ b/include/linux/platform_data/atmel-aes.h
> @@ -1,7 +1,7 @@
>  #ifndef __LINUX_ATMEL_AES_H
>  #define __LINUX_ATMEL_AES_H
>  
> -#include <mach/at_hdmac.h>
> +#include <linux/platform_data/dma-atmel.h>
>  
>  /**
>   * struct aes_dma_data - DMA data for AES
> diff --git a/arch/arm/mach-at91/include/mach/at_hdmac.h b/include/linux/platform_data/dma-atmel.h
> similarity index 100%
> rename from arch/arm/mach-at91/include/mach/at_hdmac.h
> rename to include/linux/platform_data/dma-atmel.h
> -- 
> 1.7.10
> 

  parent reply	other threads:[~2012-09-11 19:22 UTC|newest]

Thread overview: 182+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1347368245-30989-1-git-send-email-arnd@arndb.de>
2012-09-11 12:59 ` [PATCH 00/16] ARM: big platform data header rename Arnd Bergmann
2012-09-11 12:59   ` Arnd Bergmann
2012-09-11 12:59   ` [PATCH 01/16] ARM: at91: move platform_data definitions Arnd Bergmann
2012-09-11 12:59     ` Arnd Bergmann
2012-09-11 12:59     ` [PATCH 02/16] ARM: davinci: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 13:05       ` Felipe Balbi
2012-09-11 13:05         ` Felipe Balbi
2012-09-12 10:42       ` Hebbar, Gururaja
2012-09-12 10:42         ` Hebbar, Gururaja
2012-09-12 17:11         ` Arnd Bergmann
2012-09-12 17:11           ` Arnd Bergmann
2012-09-13  7:00           ` Hebbar, Gururaja
2012-09-13  7:00             ` Hebbar, Gururaja
2012-09-11 12:59     ` [PATCH 03/16] ARM: ep93xx: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 16:26       ` H Hartley Sweeten
2012-09-11 16:26         ` H Hartley Sweeten
2012-09-11 17:16         ` Arnd Bergmann
2012-09-11 17:16           ` Arnd Bergmann
2012-09-11 22:56       ` Ryan Mallon
2012-09-11 22:56         ` Ryan Mallon
2012-09-14  3:18       ` Vinod Koul
2012-09-14  3:18         ` Vinod Koul
2012-09-11 12:59     ` [PATCH 04/16] ARM: imx: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 13:40       ` Guennadi Liakhovetski
2012-09-11 13:40         ` Guennadi Liakhovetski
2012-09-11 14:10         ` Arnd Bergmann
2012-09-11 14:10           ` Arnd Bergmann
2012-09-11 14:31           ` Guennadi Liakhovetski
2012-09-11 14:31             ` Guennadi Liakhovetski
2012-09-12 15:52             ` Arnd Bergmann
2012-09-12 15:52               ` Arnd Bergmann
2012-09-13  7:21               ` Shawn Guo
2012-09-13  7:21                 ` Shawn Guo
2012-09-11 13:45       ` Sascha Hauer
2012-09-11 13:45         ` Sascha Hauer
2012-09-14  3:17       ` Vinod Koul
2012-09-14  3:17         ` Vinod Koul
2012-09-11 12:59     ` [PATCH 05/16] ARM: msm: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 21:07       ` David Brown
2012-09-11 21:07         ` David Brown
2012-09-11 12:59     ` [PATCH 06/16] ARM: netx: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 13:35       ` Sascha Hauer
2012-09-11 13:35         ` Sascha Hauer
2012-09-11 12:59     ` [PATCH 07/16] ARM: pxa: " Arnd Bergmann
2012-09-11 13:56       ` Igor Grinberg
2012-09-11 17:11       ` Jeff Garzik
2012-09-11 19:13       ` Marek Vasut
2012-09-11 19:36       ` Robert Jarzmik
2012-09-12 22:56       ` Paul Parsons
2012-09-13  8:46       ` stefan at sostec.de
2012-10-02 19:03       ` [PATCH] ARM: pxa: Fix build error caused by sram.h rename Chris Ball
2012-10-02 20:27         ` Arnd Bergmann
2012-10-05 14:48           ` Chris Ball
2012-10-05 18:57             ` Arnd Bergmann
2012-10-06  8:55               ` Mark Brown
2012-09-11 12:59     ` [PATCH 08/16] ARM: sa1100: move platform_data definitions Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 12:59     ` [PATCH 09/16] ARM: tegra: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
     [not found]       ` <1347368390-31252-9-git-send-email-arnd-r2nGTMty4D4@public.gmane.org>
2012-09-11 15:35         ` Stephen Warren
2012-09-11 15:35           ` Stephen Warren
2012-09-11 15:35           ` Stephen Warren
2012-09-12 16:21           ` Arnd Bergmann
2012-09-12 16:21             ` Arnd Bergmann
2012-09-12 16:21             ` Arnd Bergmann
     [not found]             ` <201209121621.16019.arnd-r2nGTMty4D4@public.gmane.org>
2012-09-12 17:29               ` Stephen Warren
2012-09-12 17:29                 ` Stephen Warren
2012-09-12 17:29                 ` Stephen Warren
2012-09-11 15:42         ` Chris Ball
2012-09-11 15:42           ` Chris Ball
2012-09-11 15:42           ` Chris Ball
     [not found]           ` <871ui8y3at.fsf-DGHOrqG7t0YzNDMTQreKSUB+6BGkLq7r@public.gmane.org>
2012-09-11 17:05             ` Arnd Bergmann
2012-09-11 17:05               ` Arnd Bergmann
2012-09-11 17:05               ` Arnd Bergmann
     [not found]               ` <201209111705.37490.arnd-r2nGTMty4D4@public.gmane.org>
2012-09-11 17:11                 ` Chris Ball
2012-09-11 17:11                   ` Chris Ball
2012-09-11 17:11                   ` Chris Ball
2012-09-12 16:42               ` Chris Brand
2012-09-12 16:42                 ` Chris Brand
2012-09-12 16:42                 ` Chris Brand
2012-09-11 12:59     ` [PATCH 10/16] ARM: vt8500: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 20:54       ` Tony Prisk
2012-09-11 20:54         ` Tony Prisk
2012-09-11 12:59     ` [PATCH 11/16] ARM: w90x900: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 12:59     ` [PATCH 12/16] ARM: nomadik: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 13:07       ` Felipe Balbi
2012-09-11 13:07         ` Felipe Balbi
2012-09-11 13:31       ` Linus Walleij
2012-09-11 13:31         ` Linus Walleij
2012-09-11 13:46         ` Arnd Bergmann
2012-09-11 13:46           ` Arnd Bergmann
2012-09-12 16:24         ` Arnd Bergmann
2012-09-12 16:24           ` Arnd Bergmann
2012-09-11 12:59     ` [PATCH 13/16] ARM: omap: " Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 12:59       ` Arnd Bergmann
2012-09-11 13:52       ` Peter Ujfalusi
2012-09-11 13:52         ` Peter Ujfalusi
2012-09-11 13:52         ` Peter Ujfalusi
2012-09-12 17:20         ` Arnd Bergmann
2012-09-12 17:20           ` Arnd Bergmann
2012-09-18  9:57           ` Peter Ujfalusi
2012-09-18  9:57             ` Peter Ujfalusi
2012-09-19 14:49             ` Arnd Bergmann
2012-09-19 14:49               ` Arnd Bergmann
2012-09-12  7:16       ` Pihet-XID, Jean
2012-09-12  7:16         ` Pihet-XID, Jean
2012-09-12  7:16         ` Pihet-XID, Jean
2012-09-12 17:15         ` Arnd Bergmann
2012-09-12 17:15           ` Arnd Bergmann
2012-09-12 17:15           ` Arnd Bergmann
2012-09-12 17:40           ` Pihet-XID, Jean
2012-09-12 17:40             ` Pihet-XID, Jean
2012-09-12 17:40             ` Pihet-XID, Jean
2012-09-11 13:20     ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-09-11 13:20       ` [PATCH 01/16] ARM: at91: " Jean-Christophe PLAGNIOL-VILLARD
2012-09-11 13:35       ` Nicolas Ferre
2012-09-11 13:35         ` Nicolas Ferre
2012-09-11 18:29     ` [PATCH 12/16] ARM: nomadik: " Alessandro Rubini
2012-09-11 18:29       ` Alessandro Rubini
2012-09-14  3:18     ` [PATCH 01/16] ARM: at91: " Vinod Koul
2012-09-14  3:18       ` Vinod Koul
2012-09-11 13:02   ` [PATCH 13/16] ARM: omap: " Arnd Bergmann
2012-09-11 13:02     ` Arnd Bergmann
2012-09-11 13:02     ` Arnd Bergmann
2012-09-11 13:02     ` [PATCH 14/16] ARM: orion: " Arnd Bergmann
2012-09-11 13:02       ` Arnd Bergmann
2012-09-11 13:11       ` Thomas Petazzoni
2012-09-11 13:11         ` Thomas Petazzoni
2012-09-11 13:02     ` [PATCH 15/16] ARM: samsung: " Arnd Bergmann
2012-09-11 13:02       ` Arnd Bergmann
2012-09-11 13:02       ` Arnd Bergmann
2012-09-11 13:07       ` Felipe Balbi
2012-09-11 13:07         ` Felipe Balbi
2012-09-11 13:07         ` Felipe Balbi
2012-09-11 17:12       ` Jeff Garzik
2012-09-11 17:12         ` Jeff Garzik
2012-09-11 17:12         ` Jeff Garzik
2012-09-12  1:27       ` Jingoo Han
2012-09-12  1:27         ` Jingoo Han
2012-09-12  2:20       ` Kukjin Kim
2012-09-12  2:20         ` Kukjin Kim
2012-09-12  2:20         ` Kukjin Kim
2012-09-12  5:44       ` Kyungmin Park
2012-09-12  5:44         ` Kyungmin Park
2012-09-12  5:44         ` Kyungmin Park
2012-09-11 13:02     ` [PATCH 16/16] ARM: spear: " Arnd Bergmann
2012-09-11 13:02       ` Arnd Bergmann
2012-09-12  3:17       ` viresh kumar
2012-09-12  3:17         ` viresh kumar
2012-09-11 14:06     ` [PATCH 13/16] ARM: omap: " Shilimkar, Santosh
2012-09-11 14:06       ` Shilimkar, Santosh
2012-09-11 14:06       ` Shilimkar, Santosh
2012-09-11 14:17       ` Arnd Bergmann
2012-09-11 14:17         ` Arnd Bergmann
2012-09-11 14:17         ` Arnd Bergmann
2012-09-11 14:24         ` Shilimkar, Santosh
2012-09-11 14:24           ` Shilimkar, Santosh
2012-09-11 14:24           ` Shilimkar, Santosh
2012-09-11 16:09           ` Vaibhav Hiremath
2012-09-11 16:09             ` Vaibhav Hiremath
2012-09-11 16:09             ` Vaibhav Hiremath
2012-09-11 17:04             ` Arnd Bergmann
2012-09-11 17:04               ` Arnd Bergmann
2012-09-11 17:04               ` Arnd Bergmann
2012-09-11 17:36               ` Tony Lindgren
2012-09-11 17:36                 ` Tony Lindgren
2012-09-11 17:36                 ` Tony Lindgren
2012-09-12  3:53               ` Hiremath, Vaibhav
2012-09-12  3:53                 ` Hiremath, Vaibhav
2012-09-12 17:55               ` Sekhar Nori
2012-09-12 17:55                 ` Sekhar Nori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120911132059.GG31430@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=arnd@arndb.de \
    --cc=djbw@fb.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nicolas.ferre@atmel.com \
    --cc=vinod.koul@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.