aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-01-09 20:39:51 -0500
committerKukjin Kim <kgene.kim@samsung.com>2013-03-07 02:27:18 -0500
commit30da66eafc015cd7e952829eaf8f86d8680f86d9 (patch)
treeba66f9b7d547bcfc35bbae37c2ac228541c15b0f /arch/arm
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
ARM: SAMSUNG: Export MIPI CSIS/DSIM PHY control functions
The s5p_csis_phy_enable/s5p_dsim_phy_enable functions are now used directly by corresponding drivers and thus need to be exported so the drivers can be built as modules. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-samsung/setup-mipiphy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/setup-mipiphy.c b/arch/arm/plat-samsung/setup-mipiphy.c
index 147459327601..66df315990a7 100644
--- a/arch/arm/plat-samsung/setup-mipiphy.c
+++ b/arch/arm/plat-samsung/setup-mipiphy.c
@@ -8,6 +8,7 @@
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 */ 9 */
10 10
11#include <linux/export.h>
11#include <linux/kernel.h> 12#include <linux/kernel.h>
12#include <linux/platform_device.h> 13#include <linux/platform_device.h>
13#include <linux/io.h> 14#include <linux/io.h>
@@ -50,8 +51,10 @@ int s5p_csis_phy_enable(int id, bool on)
50{ 51{
51 return __s5p_mipi_phy_control(id, on, S5P_MIPI_DPHY_SRESETN); 52 return __s5p_mipi_phy_control(id, on, S5P_MIPI_DPHY_SRESETN);
52} 53}
54EXPORT_SYMBOL(s5p_csis_phy_enable);
53 55
54int s5p_dsim_phy_enable(struct platform_device *pdev, bool on) 56int s5p_dsim_phy_enable(struct platform_device *pdev, bool on)
55{ 57{
56 return __s5p_mipi_phy_control(pdev->id, on, S5P_MIPI_DPHY_MRESETN); 58 return __s5p_mipi_phy_control(pdev->id, on, S5P_MIPI_DPHY_MRESETN);
57} 59}
60EXPORT_SYMBOL(s5p_dsim_phy_enable);