|
@@ -54,6 +54,9 @@ unsigned int dss_debug;
|
|
|
module_param_named(debug, dss_debug, bool, 0644);
|
|
|
#endif
|
|
|
|
|
|
+static int omap_dss_register_device(struct omap_dss_device *);
|
|
|
+static void omap_dss_unregister_device(struct omap_dss_device *);
|
|
|
+
|
|
|
/* REGULATORS */
|
|
|
|
|
|
struct regulator *dss_get_vdds_dsi(void)
|
|
@@ -480,7 +483,7 @@ static void omap_dss_dev_release(struct device *dev)
|
|
|
reset_device(dev, 0);
|
|
|
}
|
|
|
|
|
|
-int omap_dss_register_device(struct omap_dss_device *dssdev)
|
|
|
+static int omap_dss_register_device(struct omap_dss_device *dssdev)
|
|
|
{
|
|
|
static int dev_num;
|
|
|
|
|
@@ -494,7 +497,7 @@ int omap_dss_register_device(struct omap_dss_device *dssdev)
|
|
|
return device_register(&dssdev->dev);
|
|
|
}
|
|
|
|
|
|
-void omap_dss_unregister_device(struct omap_dss_device *dssdev)
|
|
|
+static void omap_dss_unregister_device(struct omap_dss_device *dssdev)
|
|
|
{
|
|
|
device_unregister(&dssdev->dev);
|
|
|
}
|