aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/devs.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-16 13:42:58 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-16 13:42:58 -0400
commite4862f2f6f5653dfb67f3ba2b6f0bc74516ed51a (patch)
tree1db5a0540a4eecfad9b7daee476b985e82ddc810 /arch/arm/plat-samsung/include/plat/devs.h
parentec62dbd7eb8e3dddb221da89ecbcea0fc3dee8c1 (diff)
parentb2c1e07b81a126e5846dfc3d36f559d861df59f4 (diff)
Merge branch 'for-2.6.36' into for-2.6.37
Fairly simple conflicts, the most serious ones are the i.MX ones which I suspect now need another rename. Conflicts: arch/arm/mach-mx2/clock_imx27.c arch/arm/mach-mx2/devices.c arch/arm/mach-omap2/board-rx51-peripherals.c arch/arm/mach-omap2/board-zoom2.c sound/soc/fsl/mpc5200_dma.c sound/soc/fsl/mpc5200_dma.h sound/soc/fsl/mpc8610_hpcd.c sound/soc/pxa/spitz.c
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/devs.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/devs.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-samsung/include/plat/devs.h
index 9ea6786d459d..a9fecd615de4 100644
--- a/arch/arm/plat-samsung/include/plat/devs.h
+++ b/arch/arm/plat-samsung/include/plat/devs.h
@@ -56,6 +56,8 @@ extern struct platform_device s3c_device_hwmon;
56extern struct platform_device s3c_device_hsmmc0; 56extern struct platform_device s3c_device_hsmmc0;
57extern struct platform_device s3c_device_hsmmc1; 57extern struct platform_device s3c_device_hsmmc1;
58extern struct platform_device s3c_device_hsmmc2; 58extern struct platform_device s3c_device_hsmmc2;
59extern struct platform_device s3c_device_hsmmc3;
60extern struct platform_device s3c_device_cfcon;
59 61
60extern struct platform_device s3c_device_spi0; 62extern struct platform_device s3c_device_spi0;
61extern struct platform_device s3c_device_spi1; 63extern struct platform_device s3c_device_spi1;
@@ -102,6 +104,12 @@ extern struct platform_device s5pc100_device_iis0;
102extern struct platform_device s5pc100_device_iis1; 104extern struct platform_device s5pc100_device_iis1;
103extern struct platform_device s5pc100_device_iis2; 105extern struct platform_device s5pc100_device_iis2;
104 106
107extern struct platform_device samsung_device_keypad;
108
109extern struct platform_device s5p_device_fimc0;
110extern struct platform_device s5p_device_fimc1;
111extern struct platform_device s5p_device_fimc2;
112
105/* s3c2440 specific devices */ 113/* s3c2440 specific devices */
106 114
107#ifdef CONFIG_CPU_S3C2440 115#ifdef CONFIG_CPU_S3C2440
@@ -110,3 +118,15 @@ extern struct platform_device s3c_device_camif;
110extern struct platform_device s3c_device_ac97; 118extern struct platform_device s3c_device_ac97;
111 119
112#endif 120#endif
121
122/**
123 * s3c_set_platdata() - helper for setting platform data
124 * @pd: The default platform data for this device.
125 * @pdsize: The size of the platform data.
126 * @pdev: Pointer to the device to fill in.
127 *
128 * This helper replaces a number of calls that copy and then set the
129 * platform data of the device.
130 */
131extern void *s3c_set_platdata(void *pd, size_t pdsize,
132 struct platform_device *pdev);