Skip to content

Commit 44e030d

Browse files
committed
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: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/220713d4e3cc364ac103ba689065ae96e075f1fa.1713259151.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1 parent 5289ed1 commit 44e030d

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

drivers/gpu/drm/drm_displayid.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
* Copyright © 2021 Intel Corporation
44
*/
55

6-
#include <drm/drm_displayid.h>
76
#include <drm/drm_edid.h>
87
#include <drm/drm_print.h>
98

9+
#include "drm_displayid_internal.h"
10+
1011
static const struct displayid_header *
1112
displayid_get_header(const u8 *displayid, int length, int index)
1213
{
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2020
* OTHER DEALINGS IN THE SOFTWARE.
2121
*/
22-
#ifndef DRM_DISPLAYID_H
23-
#define DRM_DISPLAYID_H
22+
23+
#ifndef __DRM_DISPLAYID_INTERNAL_H__
24+
#define __DRM_DISPLAYID_INTERNAL_H__
2425

2526
#include <linux/types.h>
2627
#include <linux/bits.h>

drivers/gpu/drm/drm_edid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040
#include <linux/slab.h>
4141
#include <linux/vga_switcheroo.h>
4242

43-
#include <drm/drm_displayid.h>
4443
#include <drm/drm_drv.h>
4544
#include <drm/drm_edid.h>
4645
#include <drm/drm_eld.h>
4746
#include <drm/drm_encoder.h>
4847
#include <drm/drm_print.h>
4948

5049
#include "drm_crtc_internal.h"
50+
#include "drm_displayid_internal.h"
5151
#include "drm_internal.h"
5252

5353
static int oui(u8 first, u8 second, u8 third)

0 commit comments

Comments
 (0)