drm/i915: Use sizeof(*fb) not sizeof(struct ...) in get_initial_plane_config()
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 21 Jan 2015 14:07:19 +0000 (14:07 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:08 +0000 (09:51 +0100)
commitd9806c9fd31920a13f4c5b4d4352ffe286d8787c
tree9146cb4437bb8bbbf0b08c57500094f01f753857
parent1b842c89bd8eb0e9619e1aba071c9a5529b7a179
drm/i915: Use sizeof(*fb) not sizeof(struct ...) in get_initial_plane_config()

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c