drm/i915/pxp: prefer forward declaration over includes
Always use forward declarations instead of includes in headers if possible. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220214173644.2097124-1-jani.nikula@intel.com
This commit is contained in:
parent
3c0deb1485
commit
602e604a89
|
@ -6,7 +6,7 @@
|
|||
#ifndef __INTEL_PXP_PM_H__
|
||||
#define __INTEL_PXP_PM_H__
|
||||
|
||||
#include "intel_pxp_types.h"
|
||||
struct intel_pxp;
|
||||
|
||||
#ifdef CONFIG_DRM_I915_PXP
|
||||
void intel_pxp_suspend_prepare(struct intel_pxp *pxp);
|
||||
|
|
Loading…
Reference in New Issue