drm/i915: move dpll_info to header
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 20 Mar 2018 22:06:31 +0000 (15:06 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 27 Mar 2018 17:34:27 +0000 (10:34 -0700)
This will allow the struct to be embedded in intel_shared_dpll.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320220637.21480-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_dpll_mgr.c
drivers/gpu/drm/i915/intel_dpll_mgr.h

index 51c5ae4e911647da1a64e5d8ea1e7de38e601933..52d6e731c3e9a51818b5fc54476dd69c0eefb3b4 100644 (file)
@@ -1877,13 +1877,6 @@ static void intel_ddi_pll_init(struct drm_device *dev)
        }
 }
 
-struct dpll_info {
-       const char *name;
-       const int id;
-       const struct intel_shared_dpll_funcs *funcs;
-       uint32_t flags;
-};
-
 struct intel_dpll_mgr {
        const struct dpll_info *dpll_info;
 
index f24ccf443d251538fa34bd293412e603786caad6..e99d6385478aa97f0058ce1f37b393f0ebea87cd 100644 (file)
@@ -205,6 +205,16 @@ struct intel_shared_dpll_funcs {
                             struct intel_dpll_hw_state *hw_state);
 };
 
+/**
+ * struct dpll_info - display PLL platform specific info
+ */
+struct dpll_info {
+       const char *name;
+       const int id;
+       const struct intel_shared_dpll_funcs *funcs;
+       uint32_t flags;
+};
+
 /**
  * struct intel_shared_dpll - display PLL with tracked state and users
  */