diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-07-22 15:05:25 (GMT) |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-07-23 23:47:34 (GMT) |
commit | a3d5d75f694396aa574c4dadbd6008e2cc9a2bbb (patch) | |
tree | 0b68977d048059f0561d578332691311c143be1c /drivers/gpu/drm/gma500/psb_intel_drv.h | |
parent | 6306865daf0283d1b13adea8be8d1ad4dd0ea1c3 (diff) | |
download | linux-a3d5d75f694396aa574c4dadbd6008e2cc9a2bbb.tar.xz |
drm/gma500: Rename psb_intel_connector to gma_connector
The psb_intel_connector is generic and should be named appropriately
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/gma500/psb_intel_drv.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/gma500/psb_intel_drv.h b/drivers/gpu/drm/gma500/psb_intel_drv.h index 2a73b91..9a34e85 100644 --- a/drivers/gpu/drm/gma500/psb_intel_drv.h +++ b/drivers/gpu/drm/gma500/psb_intel_drv.h @@ -137,7 +137,7 @@ struct psb_intel_encoder { struct psb_intel_i2c_chan *ddc_bus; }; -struct psb_intel_connector { +struct gma_connector { struct drm_connector base; struct psb_intel_encoder *encoder; }; @@ -195,8 +195,8 @@ struct gma_crtc { #define to_gma_crtc(x) \ container_of(x, struct gma_crtc, base) -#define to_psb_intel_connector(x) \ - container_of(x, struct psb_intel_connector, base) +#define to_gma_connector(x) \ + container_of(x, struct gma_connector, base) #define to_psb_intel_encoder(x) \ container_of(x, struct psb_intel_encoder, base) #define to_psb_intel_framebuffer(x) \ @@ -227,13 +227,13 @@ 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 psb_intel_connector *connector, +extern void gma_connector_attach_encoder(struct gma_connector *connector, struct psb_intel_encoder *encoder); static inline struct psb_intel_encoder *gma_attached_encoder( struct drm_connector *connector) { - return to_psb_intel_connector(connector)->encoder; + return to_gma_connector(connector)->encoder; } extern struct drm_display_mode *psb_intel_crtc_mode_get(struct drm_device *dev, |