summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/common.h
diff options
context:
space:
mode:
authorMark A. Greer2009-04-15 21:40:56 +0200
committerKevin Hilman2009-05-29 00:17:45 +0200
commit972412b648dcf0c4303dca7e515d5c24ce3cd1d5 (patch)
tree2531253bcc50ef71665405ad1aa0f8f2f035f41f /arch/arm/mach-davinci/include/mach/common.h
parentdavinci: Move serial platform_device into SoC-specific files (diff)
downloadkernel-qcow2-linux-972412b648dcf0c4303dca7e515d5c24ce3cd1d5.tar.gz
kernel-qcow2-linux-972412b648dcf0c4303dca7e515d5c24ce3cd1d5.tar.xz
kernel-qcow2-linux-972412b648dcf0c4303dca7e515d5c24ce3cd1d5.zip
davinci: Move emac platform_data to SoC-specific files
Since most of the emac platform_data is really SoC specific and not board specific, move it to the SoC-specific files. Put a pointer to the platform_data in the soc_info structure so the board-specific code can set some of the platform_data if it needs to. Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/common.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h
index 9624e0382536..b773d92e7379 100644
--- a/arch/arm/mach-davinci/include/mach/common.h
+++ b/arch/arm/mach-davinci/include/mach/common.h
@@ -62,6 +62,7 @@ struct davinci_soc_info {
unsigned gpio_num;
unsigned gpio_irq;
struct platform_device *serial_dev;
+ struct emac_platform_data *emac_pdata;
};
extern struct davinci_soc_info davinci_soc_info;