mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/xe: Sort includes
Sort includes and split them in blocks: 1) .h corresponding to the .c. Example: xe_bb.c should have a "#include "xe_bb.h" first. 2) #include <linux/...> 3) #include <drm/...> 4) local includes 5) i915 includes This is accomplished by running `clang-format --style=file -i --sort-includes drivers/gpu/drm/xe/*.[ch]` and ignoring all the changes after the includes. There are also some manual tweaks to split the blocks. v2: Also sort includes in headers Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
ba11f1b7ea
commit
ea9f879d03
@@ -3,15 +3,14 @@
|
||||
* Copyright © 2022 Intel Corporation
|
||||
*/
|
||||
|
||||
#include "xe_pcode_api.h"
|
||||
#include "xe_pcode.h"
|
||||
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
#include "xe_gt.h"
|
||||
#include "xe_mmio.h"
|
||||
|
||||
#include <linux/errno.h>
|
||||
|
||||
#include <linux/delay.h>
|
||||
#include "xe_pcode_api.h"
|
||||
|
||||
/**
|
||||
* DOC: PCODE
|
||||
|
||||
Reference in New Issue
Block a user