display: Relocate poll.c from display/plugin-common to display core 09/294809/6
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 27 Jun 2023 02:29:26 +0000 (11:29 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 29 Jun 2023 04:56:37 +0000 (13:56 +0900)
To devide display/plugin-common and display core, all plugin-common files should be moved to core.
By eliminating dependence, poll.c relocation has become possible.

Change-Id: I6fa77229f23b16ff0ac89e8790aa020d8f9566b9
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/display/poll.c [moved from src/display/plugin-common/poll.c with 98% similarity]

similarity index 98%
rename from src/display/plugin-common/poll.c
rename to src/display/poll.c
index 72347c5..2983f82 100644 (file)
@@ -130,7 +130,7 @@ static int __pm_change_internal(pid_t pid, int s_bits)
        if (cond < 0)
                return cond;
 
-       ret = is_lcdon_blocked();
+       ret = display_plugin_is_lcd_on_blocked();
        if (ret != LCDON_BLOCK_NONE && (cond & display_on)) {
                _W("LCDON is blocked, %d.", ret);
                return -ENOTSUP;