mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
drm/xe/display: Prefer forward declarations
There is no need to include xe_device.h in the xe_display.h header. Include it in the xe_display.c file instead. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patch.msgid.link/20260512183342.3374-4-michal.wajdeczko@intel.com
This commit is contained in:
parent
b424e0db82
commit
9350f47228
|
|
@ -36,6 +36,7 @@
|
|||
#include "intel_hotplug.h"
|
||||
#include "intel_opregion.h"
|
||||
#include "skl_watermark.h"
|
||||
#include "xe_device.h"
|
||||
#include "xe_display_bo.h"
|
||||
#include "xe_display_pcode.h"
|
||||
#include "xe_display_rpm.h"
|
||||
|
|
|
|||
|
|
@ -6,9 +6,11 @@
|
|||
#ifndef _XE_DISPLAY_H_
|
||||
#define _XE_DISPLAY_H_
|
||||
|
||||
#include "xe_device.h"
|
||||
#include <linux/types.h>
|
||||
|
||||
struct drm_driver;
|
||||
struct pci_dev;
|
||||
struct xe_device;
|
||||
|
||||
#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user