2015-11-05 23:19:32 +08:00
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
|
2015-11-05 23:23:14 +08:00
|
|
|
static bool dss_initialized;
|
2015-11-06 01:36:02 +08:00
|
|
|
static const struct dispc_ops *ops;
|
2015-11-05 23:23:14 +08:00
|
|
|
|
|
|
|
void omapdss_set_is_initialized(bool set)
|
|
|
|
{
|
|
|
|
dss_initialized = set;
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(omapdss_set_is_initialized);
|
|
|
|
|
|
|
|
bool omapdss_is_initialized(void)
|
|
|
|
{
|
|
|
|
return dss_initialized;
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(omapdss_is_initialized);
|
|
|
|
|
2015-11-06 01:36:02 +08:00
|
|
|
void dispc_set_ops(const struct dispc_ops *o)
|
|
|
|
{
|
|
|
|
ops = o;
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(dispc_set_ops);
|
|
|
|
|
|
|
|
const struct dispc_ops *dispc_get_ops(void)
|
|
|
|
{
|
|
|
|
return ops;
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(dispc_get_ops);
|
|
|
|
|
2015-11-05 23:19:32 +08:00
|
|
|
MODULE_AUTHOR("Tomi Valkeinen <tomi.valkeinen@ti.com>");
|
|
|
|
MODULE_DESCRIPTION("OMAP Display Subsystem Base");
|
|
|
|
MODULE_LICENSE("GPL v2");
|