Skip to content

Commit

Permalink
ARM: plat-nomadik: move DMA40 header to <linux/platform_data>
Browse files Browse the repository at this point in the history
This moves the DMA40 platform data header from <plat/ste_dma40.h>
to <linux/platform_data/dma-ste-dma40.h> where is belongs.

Cc: Dan Williams <djbw@fb.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Ola Lilja <ola.o.lilja@stericsson.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Andreas Westin <andreas.westin@stericsson.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Linus Walleij committed Nov 5, 2012
1 parent 2136683 commit 865fab6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 18 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-ux500/board-mop500-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/platform_data/pinctrl-nomadik.h>

#include <plat/ste_dma40.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <mach/devices.h>
#include <mach/hardware.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/board-mop500-sdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
#include <linux/amba/mmci.h>
#include <linux/mmc/host.h>
#include <linux/platform_device.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <asm/mach-types.h>
#include <plat/ste_dma40.h>
#include <mach/devices.h>
#include <mach/hardware.h>

Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-ux500/board-mop500.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@
#include <linux/leds.h>
#include <linux/pinctrl/consumer.h>
#include <linux/platform_data/pinctrl-nomadik.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/hardware/gic.h>

#include <plat/ste_dma40.h>

#include <mach/hardware.h>
#include <mach/setup.h>
#include <mach/devices.h>
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-ux500/devices-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
#include <linux/gpio.h>
#include <linux/amba/bus.h>
#include <linux/amba/pl022.h>

#include <plat/ste_dma40.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <mach/hardware.h>
#include <mach/setup.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/include/mach/msp.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef __MSP_H
#define __MSP_H

#include <plat/ste_dma40.h>
#include <linux/platform_data/dma-ste-dma40.h>

enum msp_i2s_id {
MSP_I2S_0 = 0,
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-ux500/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#include <linux/platform_device.h>
#include <linux/usb/musb.h>
#include <linux/dma-mapping.h>
#include <linux/platform_data/usb-musb-ux500.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <plat/ste_dma40.h>
#include <mach/hardware.h>
#include <linux/platform_data/usb-musb-ux500.h>

#define MUSB_DMA40_RX_CH { \
.mode = STEDMA40_MODE_LOGICAL, \
Expand Down
3 changes: 1 addition & 2 deletions drivers/crypto/ux500/cryp/cryp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/semaphore.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <crypto/aes.h>
#include <crypto/algapi.h>
#include <crypto/ctr.h>
#include <crypto/des.h>
#include <crypto/scatterwalk.h>

#include <plat/ste_dma40.h>

#include <linux/platform_data/crypto-ux500.h>
#include <mach/hardware.h>

Expand Down
3 changes: 1 addition & 2 deletions drivers/dma/ste_dma40.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
#include <linux/err.h>
#include <linux/amba/bus.h>
#include <linux/regulator/consumer.h>

#include <plat/ste_dma40.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include "dmaengine.h"
#include "ste_dma40_ll.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/dma/ste_dma40_ll.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <linux/kernel.h>
#include <plat/ste_dma40.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include "ste_dma40_ll.h"

Expand Down
2 changes: 1 addition & 1 deletion include/linux/platform_data/crypto-ux500.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef _CRYPTO_UX500_H
#define _CRYPTO_UX500_H
#include <linux/dmaengine.h>
#include <plat/ste_dma40.h>
#include <linux/platform_data/dma-ste-dma40.h>

struct hash_platform_data {
void *mem_to_engine;
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions sound/soc/ux500/ux500_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/slab.h>

#include <plat/ste_dma40.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <sound/pcm.h>
#include <sound/pcm_params.h>
Expand Down

0 comments on commit 865fab6

Please sign in to comment.