diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-16 13:42:58 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-16 13:42:58 -0400 |
commit | e4862f2f6f5653dfb67f3ba2b6f0bc74516ed51a (patch) | |
tree | 1db5a0540a4eecfad9b7daee476b985e82ddc810 /arch/arm/plat-samsung/include/plat/devs.h | |
parent | ec62dbd7eb8e3dddb221da89ecbcea0fc3dee8c1 (diff) | |
parent | b2c1e07b81a126e5846dfc3d36f559d861df59f4 (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.h | 20 |
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; | |||
56 | extern struct platform_device s3c_device_hsmmc0; | 56 | extern struct platform_device s3c_device_hsmmc0; |
57 | extern struct platform_device s3c_device_hsmmc1; | 57 | extern struct platform_device s3c_device_hsmmc1; |
58 | extern struct platform_device s3c_device_hsmmc2; | 58 | extern struct platform_device s3c_device_hsmmc2; |
59 | extern struct platform_device s3c_device_hsmmc3; | ||
60 | extern struct platform_device s3c_device_cfcon; | ||
59 | 61 | ||
60 | extern struct platform_device s3c_device_spi0; | 62 | extern struct platform_device s3c_device_spi0; |
61 | extern struct platform_device s3c_device_spi1; | 63 | extern struct platform_device s3c_device_spi1; |
@@ -102,6 +104,12 @@ extern struct platform_device s5pc100_device_iis0; | |||
102 | extern struct platform_device s5pc100_device_iis1; | 104 | extern struct platform_device s5pc100_device_iis1; |
103 | extern struct platform_device s5pc100_device_iis2; | 105 | extern struct platform_device s5pc100_device_iis2; |
104 | 106 | ||
107 | extern struct platform_device samsung_device_keypad; | ||
108 | |||
109 | extern struct platform_device s5p_device_fimc0; | ||
110 | extern struct platform_device s5p_device_fimc1; | ||
111 | extern 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; | |||
110 | extern struct platform_device s3c_device_ac97; | 118 | extern 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 | */ | ||
131 | extern void *s3c_set_platdata(void *pd, size_t pdsize, | ||
132 | struct platform_device *pdev); | ||