Commit 44e030d8 authored by Jani Nikula's avatar Jani Nikula

drm/displayid: move drm_displayid.h to drm_displayd_internal.h

There are no exported symbols for displayid, and it's all internal
interfaces. Move the header to drivers/gpu/drm/drm_displayd_internal.h.
Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/220713d4e3cc364ac103ba689065ae96e075f1fa.1713259151.git.jani.nikula@intel.comSigned-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 5289ed19
...@@ -3,10 +3,11 @@ ...@@ -3,10 +3,11 @@
* Copyright © 2021 Intel Corporation * Copyright © 2021 Intel Corporation
*/ */
#include <drm/drm_displayid.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "drm_displayid_internal.h"
static const struct displayid_header * static const struct displayid_header *
displayid_get_header(const u8 *displayid, int length, int index) displayid_get_header(const u8 *displayid, int length, int index)
{ {
......
...@@ -19,8 +19,9 @@ ...@@ -19,8 +19,9 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
*/ */
#ifndef DRM_DISPLAYID_H
#define DRM_DISPLAYID_H #ifndef __DRM_DISPLAYID_INTERNAL_H__
#define __DRM_DISPLAYID_INTERNAL_H__
#include <linux/types.h> #include <linux/types.h>
#include <linux/bits.h> #include <linux/bits.h>
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/vga_switcheroo.h> #include <linux/vga_switcheroo.h>
#include <drm/drm_displayid.h>
#include <drm/drm_drv.h> #include <drm/drm_drv.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_eld.h> #include <drm/drm_eld.h>
...@@ -48,6 +47,7 @@ ...@@ -48,6 +47,7 @@
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "drm_crtc_internal.h" #include "drm_crtc_internal.h"
#include "drm_displayid_internal.h"
#include "drm_internal.h" #include "drm_internal.h"
static int oui(u8 first, u8 second, u8 third) static int oui(u8 first, u8 second, u8 third)
......
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