Commit 0aa32f8e authored by Sam Ravnborg's avatar Sam Ravnborg

drm_dp_cec: drop use of drmP.h

drmP.h is deprecated and will be deleted.
Replace use with proper header.

Divide header includes in blocks while touching these.

Build tested with various archtectures and configs.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Fixes: ae85b0df ("drm_dp_cec: add connector info support.")
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Acked-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Dariusz Marcinkiewicz <darekm@google.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191007171224.1581-2-sam@ravnborg.org
parent d298e6a2
...@@ -8,10 +8,12 @@ ...@@ -8,10 +8,12 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <media/cec.h>
#include <drm/drm_connector.h> #include <drm/drm_connector.h>
#include <drm/drm_device.h>
#include <drm/drm_dp_helper.h> #include <drm/drm_dp_helper.h>
#include <drm/drmP.h>
#include <media/cec.h>
/* /*
* Unfortunately it turns out that we have a chicken-and-egg situation * Unfortunately it turns out that we have a chicken-and-egg situation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment