}
 }
 
-void ilk_get_fdi_m_n_config(struct intel_crtc *crtc,
-                           struct intel_crtc_state *pipe_config)
-{
-       intel_cpu_transcoder_get_m_n(crtc, pipe_config->cpu_transcoder,
-                                    &pipe_config->fdi_m_n, NULL);
-}
-
 static void ilk_get_pfit_pos_size(struct intel_crtc_state *crtc_state,
                                  u32 pos, u32 size)
 {
 
                                  struct intel_link_m_n *m2_n2);
 void intel_pch_transcoder_get_m_n(struct intel_crtc *crtc,
                                  struct intel_link_m_n *m_n);
-void ilk_get_fdi_m_n_config(struct intel_crtc *crtc,
-                           struct intel_crtc_state *pipe_config);
 void i9xx_crtc_clock_get(struct intel_crtc *crtc,
                         struct intel_crtc_state *pipe_config);
 int intel_dotclock_calculate(int link_freq, const struct intel_link_m_n *m_n);
 
        crtc_state->fdi_lanes = ((FDI_DP_PORT_WIDTH_MASK & tmp) >>
                                 FDI_DP_PORT_WIDTH_SHIFT) + 1;
 
-       ilk_get_fdi_m_n_config(crtc, crtc_state);
+       intel_cpu_transcoder_get_m_n(crtc, crtc_state->cpu_transcoder,
+                                    &crtc_state->fdi_m_n, NULL);
 
        if (HAS_PCH_IBX(dev_priv)) {
                /*
        crtc_state->fdi_lanes = ((FDI_DP_PORT_WIDTH_MASK & tmp) >>
                                 FDI_DP_PORT_WIDTH_SHIFT) + 1;
 
-       ilk_get_fdi_m_n_config(crtc, crtc_state);
+       intel_cpu_transcoder_get_m_n(crtc, crtc_state->cpu_transcoder,
+                                    &crtc_state->fdi_m_n, NULL);
 
        crtc_state->hw.adjusted_mode.crtc_clock = lpt_get_iclkip(dev_priv);
 }