drm: Include <video/cmdline.h> for mode parsing
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 9 Feb 2023 13:55:08 +0000 (14:55 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Feb 2023 13:56:51 +0000 (14:56 +0100)
commit495e440b354203d286127f8515f67a7a711ab6ed
tree6a7f36d6bb88f82714338b2b17051578fac5e7e4
parentdae7fbf43fd051c5b07ef9b8ab720d2e6fa02f70
drm: Include <video/cmdline.h> for mode parsing

Include <video/cmdline.h> in drm_connector.c to get video_get_options()
and avoid the dependency on <linux/fb.h>. The replaced function
fb_get_options() is just a tiny wrapper around video_get_opions(). No
functional changes.

Include <linux/property.h> to get fwnode_handle_put(), which had been
provided via <linux/fb.h>.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230209135509.7786-11-tzimmermann@suse.de
drivers/gpu/drm/drm_connector.c