Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+6 -4
+2 -1
drivers/gpu/drm/drm_displayid.c
··· 3 3 * Copyright © 2021 Intel Corporation 4 4 */ 5 5 6 - #include <drm/drm_displayid.h> 7 6 #include <drm/drm_edid.h> 8 7 #include <drm/drm_print.h> 8 + 9 + #include "drm_displayid_internal.h" 9 10 10 11 static const struct displayid_header * 11 12 displayid_get_header(const u8 *displayid, int length, int index)
+1 -1
drivers/gpu/drm/drm_edid.c
··· 40 40 #include <linux/slab.h> 41 41 #include <linux/vga_switcheroo.h> 42 42 43 - #include <drm/drm_displayid.h> 44 43 #include <drm/drm_drv.h> 45 44 #include <drm/drm_edid.h> 46 45 #include <drm/drm_eld.h> ··· 47 48 #include <drm/drm_print.h> 48 49 49 50 #include "drm_crtc_internal.h" 51 + #include "drm_displayid_internal.h" 50 52 #include "drm_internal.h" 51 53 52 54 static int oui(u8 first, u8 second, u8 third)
+3 -2
include/drm/drm_displayid.h drivers/gpu/drm/drm_displayid_internal.h
··· 19 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 20 * OTHER DEALINGS IN THE SOFTWARE. 21 21 */ 22 - #ifndef DRM_DISPLAYID_H 23 - #define DRM_DISPLAYID_H 22 + 23 + #ifndef __DRM_DISPLAYID_INTERNAL_H__ 24 + #define __DRM_DISPLAYID_INTERNAL_H__ 24 25 25 26 #include <linux/types.h> 26 27 #include <linux/bits.h>