forked from Minki/linux
7c29971629
omapdss_is_initialized() is used to find out if omapdss has been probed successfully. This patch moves the related code to the common omapdss-base module, so that the same support will be there for both omapdss and omapdss6. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
21 lines
434 B
C
21 lines
434 B
C
#include <linux/kernel.h>
|
|
#include <linux/module.h>
|
|
|
|
static bool dss_initialized;
|
|
|
|
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);
|
|
|
|
MODULE_AUTHOR("Tomi Valkeinen <tomi.valkeinen@ti.com>");
|
|
MODULE_DESCRIPTION("OMAP Display Subsystem Base");
|
|
MODULE_LICENSE("GPL v2");
|