ARM: nomadik: 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 nomadik 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: Felipe Balbi <balbi@ti.com>
Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: STEricsson <STEricsson_nomadik_linux@list.st.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Andreas Westin <andreas.westin@stericsson.com>
This commit is contained in:
Arnd Bergmann 2012-08-24 15:19:33 +02:00
parent 54ecf4f056
commit db298da2c3
14 changed files with 10 additions and 10 deletions

View File

@ -34,7 +34,7 @@
#include <plat/gpio-nomadik.h> #include <plat/gpio-nomadik.h>
#include <plat/mtu.h> #include <plat/mtu.h>
#include <mach/nand.h> #include <linux/platform_data/mtd-nomadik-nand.h>
#include <mach/fsmc.h> #include <mach/fsmc.h>
#include "cpu-8815.h" #include "cpu-8815.h"

View File

@ -48,7 +48,7 @@
#include <mach/setup.h> #include <mach/setup.h>
#include <mach/devices.h> #include <mach/devices.h>
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/crypto-ux500.h> #include <linux/platform_data/crypto-ux500.h>
#include "ste-dma40-db8500.h" #include "ste-dma40-db8500.h"
#include "devices-db8500.h" #include "devices-db8500.h"

View File

@ -24,7 +24,7 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/setup.h> #include <mach/setup.h>
#include <mach/devices.h> #include <mach/devices.h>
#include <mach/usb.h> #include <linux/platform_data/usb-musb-ux500.h>
#include <mach/db8500-regs.h> #include <mach/db8500-regs.h>
#include "devices-db8500.h" #include "devices-db8500.h"

View File

@ -13,7 +13,7 @@
#include <linux/sys_soc.h> #include <linux/sys_soc.h>
#include <linux/amba/bus.h> #include <linux/amba/bus.h>
#include <linux/platform_data/i2c-nomadik.h> #include <linux/platform_data/i2c-nomadik.h>
#include <mach/crypto-ux500.h> #include <linux/platform_data/crypto-ux500.h>
struct spi_master_cntlr; struct spi_master_cntlr;

View File

@ -10,7 +10,7 @@
#include <plat/ste_dma40.h> #include <plat/ste_dma40.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/usb.h> #include <linux/platform_data/usb-musb-ux500.h>
#define MUSB_DMA40_RX_CH { \ #define MUSB_DMA40_RX_CH { \
.mode = STEDMA40_MODE_LOGICAL, \ .mode = STEDMA40_MODE_LOGICAL, \

View File

@ -32,7 +32,7 @@
#include <plat/ste_dma40.h> #include <plat/ste_dma40.h>
#include <mach/crypto-ux500.h> #include <linux/platform_data/crypto-ux500.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include "cryp_p.h" #include "cryp_p.h"

View File

@ -31,7 +31,7 @@
#include <crypto/scatterwalk.h> #include <crypto/scatterwalk.h>
#include <crypto/algapi.h> #include <crypto/algapi.h>
#include <mach/crypto-ux500.h> #include <linux/platform_data/crypto-ux500.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include "hash_alg.h" #include "hash_alg.h"

View File

@ -20,7 +20,7 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/module.h> #include <linux/module.h>
#include <plat/ske.h> #include <linux/platform_data/keypad-nomadik-ske.h>
/* SKE_CR bits */ /* SKE_CR bits */
#define SKE_KPMLT (0x1 << 6) #define SKE_KPMLT (0x1 << 6)

View File

@ -31,7 +31,7 @@
#include <linux/mtd/partitions.h> #include <linux/mtd/partitions.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/nand.h> #include <linux/platform_data/mtd-nomadik-nand.h>
#include <mach/fsmc.h> #include <mach/fsmc.h>
#include <mtd/mtd-abi.h> #include <mtd/mtd-abi.h>

View File

@ -30,7 +30,7 @@
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/dmaengine.h> #include <linux/dmaengine.h>
#include <linux/pfn.h> #include <linux/pfn.h>
#include <mach/usb.h> #include <linux/platform_data/usb-musb-ux500.h>
#include "musb_core.h" #include "musb_core.h"
struct ux500_dma_channel { struct ux500_dma_channel {