The return type of drm_fb_helper_debug_enter() is int, so we should return '0'
instead of 'false'.

Signed-off-by: Liu Ying <Ying.Liu at freescale.com>
---
 drivers/gpu/drm/drm_fb_helper.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index d5d8cea..8daa4ad 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -200,7 +200,7 @@ int drm_fb_helper_debug_enter(struct fb_info *info)
        int i;

        if (list_empty(&kernel_fb_helper_list))
-               return false;
+               return 0;

        list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) {
                for (i = 0; i < helper->crtc_count; i++) {
-- 
1.7.9.5

Reply via email to