diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-09 10:14:28 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-09 12:00:13 -0400 |
commit | 4ef69c7a64b78d477d1666eba258ca049e8bac91 (patch) | |
tree | 7d75ec83524c1f1414eddc8ff2c14a4124f54983 /drivers/gpu/drm/i915/intel_dvo.c | |
parent | 1af5fa1b7e5ff8332f8a2ee3c5fb44d93b34868d (diff) |
drm/i915: Rename intel_encoder->enc to base for consistency
[Patch is slightly larger than is strictly necessary to fixup
surrounding checkpatch.pl errors.]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dvo.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dvo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c index a399f4b2c1c5..7bf7311deb2e 100644 --- a/drivers/gpu/drm/i915/intel_dvo.c +++ b/drivers/gpu/drm/i915/intel_dvo.c | |||
@@ -88,7 +88,7 @@ struct intel_dvo { | |||
88 | 88 | ||
89 | static struct intel_dvo *enc_to_intel_dvo(struct drm_encoder *encoder) | 89 | static struct intel_dvo *enc_to_intel_dvo(struct drm_encoder *encoder) |
90 | { | 90 | { |
91 | return container_of(enc_to_intel_encoder(encoder), struct intel_dvo, base); | 91 | return container_of(encoder, struct intel_dvo, base.base); |
92 | } | 92 | } |
93 | 93 | ||
94 | static void intel_dvo_dpms(struct drm_encoder *encoder, int mode) | 94 | static void intel_dvo_dpms(struct drm_encoder *encoder, int mode) |
@@ -426,13 +426,13 @@ void intel_dvo_init(struct drm_device *dev) | |||
426 | connector->interlace_allowed = false; | 426 | connector->interlace_allowed = false; |
427 | connector->doublescan_allowed = false; | 427 | connector->doublescan_allowed = false; |
428 | 428 | ||
429 | drm_encoder_init(dev, &intel_encoder->enc, | 429 | drm_encoder_init(dev, &intel_encoder->base, |
430 | &intel_dvo_enc_funcs, encoder_type); | 430 | &intel_dvo_enc_funcs, encoder_type); |
431 | drm_encoder_helper_add(&intel_encoder->enc, | 431 | drm_encoder_helper_add(&intel_encoder->base, |
432 | &intel_dvo_helper_funcs); | 432 | &intel_dvo_helper_funcs); |
433 | 433 | ||
434 | drm_mode_connector_attach_encoder(&intel_connector->base, | 434 | drm_mode_connector_attach_encoder(&intel_connector->base, |
435 | &intel_encoder->enc); | 435 | &intel_encoder->base); |
436 | if (dvo->type == INTEL_DVO_CHIP_LVDS) { | 436 | if (dvo->type == INTEL_DVO_CHIP_LVDS) { |
437 | /* For our LVDS chipsets, we should hopefully be able | 437 | /* For our LVDS chipsets, we should hopefully be able |
438 | * to dig the fixed panel mode out of the BIOS data. | 438 | * to dig the fixed panel mode out of the BIOS data. |