diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-02-07 15:16:01 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-02-10 09:23:50 +0100 |
commit | c0e255655f6d7ddec257b2f1779528092943c3fd (patch) | |
tree | 8a974667109ce62f82cf1dd7e052a3f8e1480ffa | |
parent | 1525c20cff96cd60549f8dd44f9b2fb15ee1715b (diff) |
drm/bochs: Clear struct drm_connector_funcs.dpms
Atomic modesetting doesn't use struct drm_connector_funcs.dpms and
the set function, drm_helper_connector_dpms(), wouldn't support it
anyway. So keep the pointer to NULL.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207141602.4760-1-tzimmermann@suse.de
-rw-r--r-- | drivers/gpu/drm/bochs/bochs_kms.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c index cc93ff74fbd8..7410b0ea4623 100644 --- a/drivers/gpu/drm/bochs/bochs_kms.c +++ b/drivers/gpu/drm/bochs/bochs_kms.c @@ -88,7 +88,6 @@ static const struct drm_connector_helper_funcs bochs_connector_connector_helper_ }; static const struct drm_connector_funcs bochs_connector_connector_funcs = { - .dpms = drm_helper_connector_dpms, .fill_modes = drm_helper_probe_single_connector_modes, .destroy = drm_connector_cleanup, .reset = drm_atomic_helper_connector_reset, |