OMAPDSS: export dispc runtime_pm functions
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 26 Apr 2012 22:37:43 +0000 (01:37 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 27 Apr 2012 23:14:06 +0000 (02:14 +0300)
needed for external drivers to be able to register ISRs

drivers/video/omap2/dss/dispc.c
include/video/omapdss.h

index 63ad8b2..bd4cb95 100644 (file)
@@ -410,6 +410,7 @@ int dispc_runtime_get(void)
        WARN_ON(r < 0);
        return r < 0 ? r : 0;
 }
+EXPORT_SYMBOL(dispc_runtime_get);
 
 void dispc_runtime_put(void)
 {
@@ -420,6 +421,7 @@ void dispc_runtime_put(void)
        r = pm_runtime_put_sync(&dispc.pdev->dev);
        WARN_ON(r < 0);
 }
+EXPORT_SYMBOL(dispc_runtime_put);
 
 static inline bool dispc_mgr_is_lcd(enum omap_channel channel)
 {
index 4a64aa5..1ec9549 100644 (file)
@@ -704,4 +704,7 @@ int omap_rfbi_update(struct omap_dss_device *dssdev,
 int omap_rfbi_configure(struct omap_dss_device *dssdev, int pixel_size,
                int data_lines);
 
+int dispc_runtime_get(void);
+void dispc_runtime_put(void);
+
 #endif