]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: sm7xxfb: erase hardcode cast between smtcfb_info and fb_info
authorJavier M. Mellid <jmunhoz@igalia.com>
Wed, 27 Jun 2012 12:10:15 +0000 (14:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 23:08:58 +0000 (16:08 -0700)
commit501b02e4d6a3c29ce4e7cef9a5a1a21f236c3c63
tree38bc2212affdd40c23e4182be0f3558efa49104a
parent7813296d2259dd5056278bcf8b2fdeaaf8499f1f
staging: sm7xxfb: erase hardcode cast between smtcfb_info and fb_info

This patch erases hardcode cast between smtcfb_info and fb_info in order
to get a more robust and less rigid smtcfb_info structure. fb_info
doesn't need to be the first field in smtcfb_info after this patch.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xxfb.c