diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-08-24 15:17:38 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 11:18:57 +0200 |
commit | a1fd844c6e620f90d5c27713fddcec067abe9572 (patch) | |
tree | 184ccb971fad4c5ea719fd9b0df773405da7ca4d /include | |
parent | 293b2da1b61136813fc2764f43304c66ff8040e9 (diff) | |
download | linux-a1fd844c6e620f90d5c27713fddcec067abe9572.tar.gz linux-a1fd844c6e620f90d5c27713fddcec067abe9572.tar.bz2 linux-a1fd844c6e620f90d5c27713fddcec067abe9572.zip |
ARM: sa1100: 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 sa1100 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>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Jochen Friedrich <jochen@scram.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/mfd-mcp-sa11x0.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/platform_data/mfd-mcp-sa11x0.h b/include/linux/platform_data/mfd-mcp-sa11x0.h new file mode 100644 index 000000000000..4b2860ae3828 --- /dev/null +++ b/include/linux/platform_data/mfd-mcp-sa11x0.h @@ -0,0 +1,22 @@ +/* + * arch/arm/mach-sa1100/include/mach/mcp.h + * + * Copyright (C) 2005 Russell King. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef __ASM_ARM_ARCH_MCP_H +#define __ASM_ARM_ARCH_MCP_H + +#include <linux/types.h> + +struct mcp_plat_data { + u32 mccr0; + u32 mccr1; + unsigned int sclk_rate; + void *codec_pdata; +}; + +#endif |