diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-04-29 15:50:11 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-04-30 15:04:19 +0300 |
commit | dbeb38d93a6da89c99801a9c70607920be72b94e (patch) | |
tree | 7b461d3dbafeb5455a419933cdcd359a5e99469f /drivers/gpu/drm/i915/i915_irq.c | |
parent | 440e2b3d8051017ff934ccd8c0688d623add86e0 (diff) | |
download | linux-dbeb38d93a6da89c99801a9c70607920be72b94e.tar.bz2 |
drm/i915: extract intel_hotplug.h from intel_drv.h and i915_drv.h
It used to be handy that we only had a couple of headers, but over time
intel_drv.h has become unwieldy. Extract declarations to a separate
header file corresponding to the implementation module, clarifying the
modularity of the driver.
Ensure the new header is self-contained, and do so with minimal further
includes, using forward declarations as needed. Include the new header
only where needed, and sort the modified include directives while at it
and as needed.
No functional changes.
v2: fix sparse warnings on undeclared global functions
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190429125011.10876-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 4a6a374aa487..e31137bd86f7 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -42,6 +42,7 @@ #include "i915_trace.h" #include "intel_drv.h" #include "intel_fifo_underrun.h" +#include "intel_hotplug.h" #include "intel_psr.h" /** |