summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_combo_phy.c
diff options
context:
space:
mode:
authorJani Nikula2019-04-29 14:29:38 +0200
committerJani Nikula2019-04-30 14:05:07 +0200
commitd5f9db2c2a097b881c618b1db2e6870863c46205 (patch)
tree6fbfb8be0cacb612c7bb2bbe744d1af1e6827cf9 /drivers/gpu/drm/i915/intel_combo_phy.c
parentdrm/i915: move some leftovers to intel_pm.h from i915_drv.h (diff)
downloadkernel-qcow2-linux-d5f9db2c2a097b881c618b1db2e6870863c46205.tar.gz
kernel-qcow2-linux-d5f9db2c2a097b881c618b1db2e6870863c46205.tar.xz
kernel-qcow2-linux-d5f9db2c2a097b881c618b1db2e6870863c46205.zip
drm/i915: extract intel_combo_phy.h from i915_drv.h
It used to be handy that we only had a couple of headers, but over time i915_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. 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/6aea17072684dec0b04b6831c0c0e5a134edf87e.1556540890.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_combo_phy.c')
-rw-r--r--drivers/gpu/drm/i915/intel_combo_phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_combo_phy.c b/drivers/gpu/drm/i915/intel_combo_phy.c
index 2bf4359d7e41..5c7eb6cf3cce 100644
--- a/drivers/gpu/drm/i915/intel_combo_phy.c
+++ b/drivers/gpu/drm/i915/intel_combo_phy.c
@@ -3,6 +3,7 @@
* Copyright © 2018 Intel Corporation
*/
+#include "intel_combo_phy.h"
#include "intel_drv.h"
#define for_each_combo_port(__dev_priv, __port) \