aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/udl/udl_connector.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-10-06 11:53:44 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2022-10-07 13:45:47 +0200
commit0862cfd3e22f3f936927f2f7381c2519ba034c6e (patch)
tree6e12b4b06f8dae908894372243ab57868adf526b /drivers/gpu/drm/udl/udl_connector.h
parent43858eb41e0dde6e48565c13cdabac95b5d9df90 (diff)
drm/udl: Move connector to modesetting code
Move the connector next to the rest of the modesetting code. No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221006095355.23579-6-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/udl/udl_connector.h')
-rw-r--r--drivers/gpu/drm/udl/udl_connector.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/gpu/drm/udl/udl_connector.h b/drivers/gpu/drm/udl/udl_connector.h
deleted file mode 100644
index 74ad68fd3cc9..000000000000
--- a/drivers/gpu/drm/udl/udl_connector.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef __UDL_CONNECTOR_H__
-#define __UDL_CONNECTOR_H__
-
-#include <linux/container_of.h>
-
-#include <drm/drm_connector.h>
-
-struct edid;
-
-struct udl_connector {
- struct drm_connector connector;
- /* last udl_detect edid */
- struct edid *edid;
-};
-
-static inline struct udl_connector *to_udl_connector(struct drm_connector *connector)
-{
- return container_of(connector, struct udl_connector, connector);
-}
-
-#endif //__UDL_CONNECTOR_H__