diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-04-30 17:39:44 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-05-05 21:04:42 +0300 |
commit | 7785ae0b51a0441ad79fb331472f2d4b7159ab71 (patch) | |
tree | ab0466c24dc652a0c7ae55eb54e87bd45f105463 /drivers/md/md-cluster.c | |
parent | 703cd9ae0d674a7a1d5d2713e0ddbad87dc0e7a9 (diff) | |
download | linux-7785ae0b51a0441ad79fb331472f2d4b7159ab71.tar.gz linux-7785ae0b51a0441ad79fb331472f2d4b7159ab71.tar.bz2 linux-7785ae0b51a0441ad79fb331472f2d4b7159ab71.zip |
drm/i915: Don't include intel_de.h from intel_display_types.h
Hoist the intel_de.h include from intel_display_types.h one
level up. I need this in order to untangle the include order
so that I can add tracepoints into intel_de.h.
This little cocci script did most of the work for me:
@find@
@@
(
intel_de_read(...)
|
intel_de_read_fw(...)
|
intel_de_write(...)
|
intel_de_write_fw(...)
)
@has_include@
@@
(
#include "intel_de.h"
|
#include "display/intel_de.h"
)
@depends on find && !has_include@
@@
+ #include "intel_de.h"
#include "intel_display_types.h"
@depends on find && !has_include@
@@
+ #include "display/intel_de.h"
#include "display/intel_display_types.h"
Cc: Cooper Chiou <cooper.chiou@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210430143945.6776-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/md/md-cluster.c')
0 files changed, 0 insertions, 0 deletions