Skip to content

Commit

Permalink
ARM: at91: move platform_data definitions
Browse files Browse the repository at this point in the history
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>
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: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Vinod Koul <vinod.koul@linux.intel.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Dan Williams <djbw@fb.com>
  • Loading branch information
Arnd Bergmann committed Sep 14, 2012
1 parent fea7a08 commit 7cdc39e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-at91/at91sam9g45_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-at91/at91sam9rl_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

#include "generic.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-at91/include/mach/atmel-mci.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/dma/at_hdmac_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion include/linux/platform_data/atmel-aes.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
File renamed without changes.

0 comments on commit 7cdc39e

Please sign in to comment.