|
@@ -117,14 +117,6 @@ static const char * const dss_generic_clk_source_names[] = {
|
|
|
[DSS_CLK_SRC_HDMI_PLL] = "HDMI PLL",
|
|
|
};
|
|
|
|
|
|
-static bool dss_initialized;
|
|
|
-
|
|
|
-bool omapdss_is_initialized(void)
|
|
|
-{
|
|
|
- return dss_initialized;
|
|
|
-}
|
|
|
-EXPORT_SYMBOL(omapdss_is_initialized);
|
|
|
-
|
|
|
static inline void dss_write_reg(const struct dss_reg idx, u32 val)
|
|
|
{
|
|
|
__raw_writel(val, dss.base + idx.idx);
|
|
@@ -1266,7 +1258,7 @@ static int dss_bind(struct device *dev)
|
|
|
|
|
|
pm_set_vt_switch(0);
|
|
|
|
|
|
- dss_initialized = true;
|
|
|
+ omapdss_set_is_initialized(true);
|
|
|
|
|
|
return 0;
|
|
|
|
|
@@ -1290,7 +1282,7 @@ static void dss_unbind(struct device *dev)
|
|
|
{
|
|
|
struct platform_device *pdev = to_platform_device(dev);
|
|
|
|
|
|
- dss_initialized = false;
|
|
|
+ omapdss_set_is_initialized(false);
|
|
|
|
|
|
component_unbind_all(&pdev->dev, NULL);
|
|
|
|