diff options
| author | Ville Syrjälä <[email protected]> | 2013-05-31 20:07:05 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2013-06-03 13:45:41 +0200 |
| commit | 3430824b4ba9f8b658d5503d390ce9a7286b0b4a (patch) | |
| tree | a16f60d92c772c6967b3421c883829bd6567a0c9 /tools/perf/scripts/python/bin | |
| parent | 96a764d983647636b39c462ea14cd1f588f6c0bd (diff) | |
drm/i915: Use container_of() in the fbdev code
Use container_of() instead of a cast to get struct intel_fbdev
from struct drm_fb_helper.
Also populate the fb_info->par correctly with the drm_fb_helper pointer
instead of the intel_fbdev pointer.
There's no actual functional change since the drm_fb_helper happens to
be the first member inside intel_fbdev.
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions