ARM: netx: move platform_data definitions

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@arndb.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
This commit is contained in:
Arnd Bergmann 2012-08-24 15:15:15 +02:00
parent 1ef21f6343
commit 2960ed3468
5 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/hardware/vic.h> #include <asm/hardware/vic.h>
#include <mach/netx-regs.h> #include <mach/netx-regs.h>
#include <mach/eth.h> #include <linux/platform_data/eth-netx.h>
#include "generic.h" #include "generic.h"
#include "fb.h" #include "fb.h"

View File

@ -30,7 +30,7 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/hardware/vic.h> #include <asm/hardware/vic.h>
#include <mach/netx-regs.h> #include <mach/netx-regs.h>
#include <mach/eth.h> #include <linux/platform_data/eth-netx.h>
#include "generic.h" #include "generic.h"

View File

@ -30,7 +30,7 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/hardware/vic.h> #include <asm/hardware/vic.h>
#include <mach/netx-regs.h> #include <mach/netx-regs.h>
#include <mach/eth.h> #include <linux/platform_data/eth-netx.h>
#include "generic.h" #include "generic.h"
#include "fb.h" #include "fb.h"

View File

@ -34,7 +34,7 @@
#include <mach/netx-regs.h> #include <mach/netx-regs.h>
#include <mach/pfifo.h> #include <mach/pfifo.h>
#include <mach/xc.h> #include <mach/xc.h>
#include <mach/eth.h> #include <linux/platform_data/eth-netx.h>
/* XC Fifo Offsets */ /* XC Fifo Offsets */
#define EMPTY_PTR_FIFO(xcno) (0 + ((xcno) << 3)) /* Index of the empty pointer FIFO */ #define EMPTY_PTR_FIFO(xcno) (0 + ((xcno) << 3)) /* Index of the empty pointer FIFO */