On Thu, Aug 17, 2023 at 09:37:54PM +0800, Yue Haibing wrote: > These declarations are not implemented now, remove them. > > Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx> Applied to drm-misc-next Thanks Patrik > --- > drivers/gpu/drm/gma500/gma_display.h | 1 - > drivers/gpu/drm/gma500/psb_intel_drv.h | 14 -------------- > 2 files changed, 15 deletions(-) > > diff --git a/drivers/gpu/drm/gma500/gma_display.h b/drivers/gpu/drm/gma500/gma_display.h > index c8b611a2f6c6..1188a8d61caf 100644 > --- a/drivers/gpu/drm/gma500/gma_display.h > +++ b/drivers/gpu/drm/gma500/gma_display.h > @@ -81,7 +81,6 @@ extern void gma_encoder_destroy(struct drm_encoder *encoder); > > /* Common clock related functions */ > extern const struct gma_limit_t *gma_limit(struct drm_crtc *crtc, int refclk); > -extern void gma_clock(int refclk, struct gma_clock_t *clock); > extern bool gma_pll_is_valid(struct drm_crtc *crtc, > const struct gma_limit_t *limit, > struct gma_clock_t *clock); > diff --git a/drivers/gpu/drm/gma500/psb_intel_drv.h b/drivers/gpu/drm/gma500/psb_intel_drv.h > index 0bb85494e3da..c111e933e1ed 100644 > --- a/drivers/gpu/drm/gma500/psb_intel_drv.h > +++ b/drivers/gpu/drm/gma500/psb_intel_drv.h > @@ -186,19 +186,13 @@ extern bool psb_intel_ddc_probe(struct i2c_adapter *adapter); > > extern void psb_intel_crtc_init(struct drm_device *dev, int pipe, > struct psb_intel_mode_device *mode_dev); > -extern void psb_intel_crt_init(struct drm_device *dev); > extern bool psb_intel_sdvo_init(struct drm_device *dev, int output_device); > -extern void psb_intel_dvo_init(struct drm_device *dev); > -extern void psb_intel_tv_init(struct drm_device *dev); > extern void psb_intel_lvds_init(struct drm_device *dev, > struct psb_intel_mode_device *mode_dev); > extern void psb_intel_lvds_set_brightness(struct drm_device *dev, int level); > extern void oaktrail_lvds_init(struct drm_device *dev, > struct psb_intel_mode_device *mode_dev); > -extern void oaktrail_wait_for_INTR_PKT_SENT(struct drm_device *dev); > struct gma_i2c_chan *oaktrail_lvds_i2c_init(struct drm_device *dev); > -extern void mid_dsi_init(struct drm_device *dev, > - struct psb_intel_mode_device *mode_dev, int dsi_num); > > extern struct drm_encoder *gma_best_encoder(struct drm_connector *connector); > extern void gma_connector_attach_encoder(struct gma_connector *connector, > @@ -214,11 +208,6 @@ extern struct drm_display_mode *psb_intel_crtc_mode_get(struct drm_device *dev, > struct drm_crtc *crtc); > extern struct drm_crtc *psb_intel_get_crtc_from_pipe(struct drm_device *dev, > int pipe); > -extern struct drm_connector *psb_intel_sdvo_find(struct drm_device *dev, > - int sdvoB); > -extern int intelfb_probe(struct drm_device *dev); > -extern int intelfb_remove(struct drm_device *dev, > - struct drm_framebuffer *fb); > extern bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder, > const struct drm_display_mode *mode, > struct drm_display_mode *adjusted_mode); > @@ -242,9 +231,6 @@ extern void cdv_intel_dp_set_m_n(struct drm_crtc *crtc, > struct drm_display_mode *mode, > struct drm_display_mode *adjusted_mode); > > -extern void psb_intel_attach_force_audio_property(struct drm_connector *connector); > -extern void psb_intel_attach_broadcast_rgb_property(struct drm_connector *connector); > - > extern int cdv_sb_read(struct drm_device *dev, u32 reg, u32 *val); > extern int cdv_sb_write(struct drm_device *dev, u32 reg, u32 val); > extern void cdv_sb_reset(struct drm_device *dev); > -- > 2.34.1 >