diff options
author | Liviu Dudau <Liviu.Dudau@arm.com> | 2017-06-20 11:23:20 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-06-20 16:23:40 +0200 |
commit | d0a2987866b6cc1acd3ed37f9cd52e5c8dced005 (patch) | |
tree | 9f6beda4b74d9d3313720b893fdb146a87de8a16 /include/drm/drm_fb_cma_helper.h | |
parent | 4c952eaba7789e0b1f2c146e839fd82c5a290241 (diff) | |
download | talos-obmc-linux-d0a2987866b6cc1acd3ed37f9cd52e5c8dced005.tar.gz talos-obmc-linux-d0a2987866b6cc1acd3ed37f9cd52e5c8dced005.zip |
drm: Convert CMA fbdev console suspend helpers to use bool
drm_fbdev_cma_set_suspend{,_unlocked} use an integer parameter
to describe whether the intended state is a suspend or a resume.
It then passes the value to drm_fb_helper_set_suspend{,_unlocked}
which uses a boolean. Switch to using bool everywhere.
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620102320.8849-1-Liviu.Dudau@arm.com
Diffstat (limited to 'include/drm/drm_fb_cma_helper.h')
-rw-r--r-- | include/drm/drm_fb_cma_helper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_fb_cma_helper.h b/include/drm/drm_fb_cma_helper.h index 199a63f48659..a323781afc3f 100644 --- a/include/drm/drm_fb_cma_helper.h +++ b/include/drm/drm_fb_cma_helper.h @@ -24,9 +24,9 @@ void drm_fbdev_cma_fini(struct drm_fbdev_cma *fbdev_cma); void drm_fbdev_cma_restore_mode(struct drm_fbdev_cma *fbdev_cma); void drm_fbdev_cma_hotplug_event(struct drm_fbdev_cma *fbdev_cma); -void drm_fbdev_cma_set_suspend(struct drm_fbdev_cma *fbdev_cma, int state); +void drm_fbdev_cma_set_suspend(struct drm_fbdev_cma *fbdev_cma, bool state); void drm_fbdev_cma_set_suspend_unlocked(struct drm_fbdev_cma *fbdev_cma, - int state); + bool state); void drm_fb_cma_destroy(struct drm_framebuffer *fb); int drm_fb_cma_create_handle(struct drm_framebuffer *fb, |