[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120911133531.GA27244@pengutronix.de>
Date: Tue, 11 Sep 2012 15:35:31 +0200
From: Sascha Hauer <s.hauer@...gutronix.de>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-arm-kernel@...ts.infradead.org,
Russell King <linux@....linux.org.uk>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 06/16] ARM: netx: move platform_data definitions
On Tue, Sep 11, 2012 at 02:59:40PM +0200, 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 netx include directories
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: netdev@...r.kernel.org
> Cc: Sascha Hauer <s.hauer@...gutronix.de>
Acked-by: Sascha Hauer <s.hauer@...gutronix.de>
> ---
> arch/arm/mach-netx/nxdb500.c | 2 +-
> arch/arm/mach-netx/nxdkn.c | 2 +-
> arch/arm/mach-netx/nxeb500hmi.c | 2 +-
> drivers/net/ethernet/netx-eth.c | 2 +-
> .../include/mach/eth.h => include/linux/platform_data/eth-netx.h | 0
> 5 files changed, 4 insertions(+), 4 deletions(-)
> rename arch/arm/mach-netx/include/mach/eth.h => include/linux/platform_data/eth-netx.h (100%)
>
> diff --git a/arch/arm/mach-netx/nxdb500.c b/arch/arm/mach-netx/nxdb500.c
> index 180ea89..8b781ff 100644
> --- a/arch/arm/mach-netx/nxdb500.c
> +++ b/arch/arm/mach-netx/nxdb500.c
> @@ -30,7 +30,7 @@
> #include <asm/mach/arch.h>
> #include <asm/hardware/vic.h>
> #include <mach/netx-regs.h>
> -#include <mach/eth.h>
> +#include <linux/platform_data/eth-netx.h>
>
> #include "generic.h"
> #include "fb.h"
> diff --git a/arch/arm/mach-netx/nxdkn.c b/arch/arm/mach-netx/nxdkn.c
> index 58009e2..b26dbce 100644
> --- a/arch/arm/mach-netx/nxdkn.c
> +++ b/arch/arm/mach-netx/nxdkn.c
> @@ -30,7 +30,7 @@
> #include <asm/mach/arch.h>
> #include <asm/hardware/vic.h>
> #include <mach/netx-regs.h>
> -#include <mach/eth.h>
> +#include <linux/platform_data/eth-netx.h>
>
> #include "generic.h"
>
> diff --git a/arch/arm/mach-netx/nxeb500hmi.c b/arch/arm/mach-netx/nxeb500hmi.c
> index 122e998..257382e 100644
> --- a/arch/arm/mach-netx/nxeb500hmi.c
> +++ b/arch/arm/mach-netx/nxeb500hmi.c
> @@ -30,7 +30,7 @@
> #include <asm/mach/arch.h>
> #include <asm/hardware/vic.h>
> #include <mach/netx-regs.h>
> -#include <mach/eth.h>
> +#include <linux/platform_data/eth-netx.h>
>
> #include "generic.h"
> #include "fb.h"
> diff --git a/drivers/net/ethernet/netx-eth.c b/drivers/net/ethernet/netx-eth.c
> index 9d11ab7..63e7af4 100644
> --- a/drivers/net/ethernet/netx-eth.c
> +++ b/drivers/net/ethernet/netx-eth.c
> @@ -34,7 +34,7 @@
> #include <mach/netx-regs.h>
> #include <mach/pfifo.h>
> #include <mach/xc.h>
> -#include <mach/eth.h>
> +#include <linux/platform_data/eth-netx.h>
>
> /* XC Fifo Offsets */
> #define EMPTY_PTR_FIFO(xcno) (0 + ((xcno) << 3)) /* Index of the empty pointer FIFO */
> diff --git a/arch/arm/mach-netx/include/mach/eth.h b/include/linux/platform_data/eth-netx.h
> similarity index 100%
> rename from arch/arm/mach-netx/include/mach/eth.h
> rename to include/linux/platform_data/eth-netx.h
> --
> 1.7.10
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists