[PATCH 1/4] drm/xe: Fix xe_gt_throttle_sysfs.h
Rodrigo Vivi
rodrigo.vivi at intel.com
Mon May 13 15:44:01 UTC 2024
On Mon, May 13, 2024 at 10:42:15AM +0200, Michal Wajdeczko wrote:
> We don't need to include drm/drm_managed.h here.
> We don't need to comment final #endif.
> Also remove empty line at the end.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h b/drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h
> index 6c61e6f228a8..335c402b51a6 100644
> --- a/drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h
> +++ b/drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h
> @@ -6,11 +6,8 @@
> #ifndef _XE_GT_THROTTLE_SYSFS_H_
> #define _XE_GT_THROTTLE_SYSFS_H_
>
> -#include <drm/drm_managed.h>
> -
> struct xe_gt;
>
> int xe_gt_throttle_sysfs_init(struct xe_gt *gt);
>
> -#endif /* _XE_GT_THROTTLE_SYSFS_H_ */
> -
> +#endif
> --
> 2.43.0
>
More information about the Intel-xe
mailing list