]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ARM: SAMSUNG: Export MIPI CSIS/DSIM PHY control functions
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 10 Jan 2013 01:39:51 +0000 (17:39 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 7 Mar 2013 07:27:18 +0000 (16:27 +0900)
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>
arch/arm/plat-samsung/setup-mipiphy.c

index 147459327601ce50c85269b9b6143f2d072c60cd..66df315990a772c0bce902eb643b14d459e038ce 100644 (file)
@@ -8,6 +8,7 @@
  * published by the Free Software Foundation.
  */
 
+#include <linux/export.h>
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
@@ -50,8 +51,10 @@ int s5p_csis_phy_enable(int id, bool on)
 {
        return __s5p_mipi_phy_control(id, on, S5P_MIPI_DPHY_SRESETN);
 }
+EXPORT_SYMBOL(s5p_csis_phy_enable);
 
 int s5p_dsim_phy_enable(struct platform_device *pdev, bool on)
 {
        return __s5p_mipi_phy_control(pdev->id, on, S5P_MIPI_DPHY_MRESETN);
 }
+EXPORT_SYMBOL(s5p_dsim_phy_enable);