Skip to content

Commit

Permalink
drm/i915/pxp: prefer forward declaration over includes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jnikula committed Feb 21, 2022
1 parent 3c0deb1 commit 602e604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/pxp/intel_pxp_pm.h
Expand Up @@ -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);
Expand Down

0 comments on commit 602e604

Please sign in to comment.