]> asedeno.scripts.mit.edu Git - linux.git/commit
fbdev: mxsfb: use framebuffer_alloc in the correct way
authorMichael Trimarchi <michael@amarulasolutions.com>
Mon, 15 Jan 2018 16:04:22 +0000 (17:04 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 15 Jan 2018 16:04:22 +0000 (17:04 +0100)
commit91ae3396ed48940b8f87c01260d9af734c67a5fd
treece8a4b2d2056796992078bcda3d0ab4a561e847c
parent7ea46206d1706bffa1b4785fe47a530de4c57597
fbdev: mxsfb: use framebuffer_alloc in the correct way

framebuffer_alloc allocated the fb_info struct plus the extra
par and set fb_info->par pointer equal to this extra par. We
can refer the mxcfb_info from fb_info->par

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Tested-by: Stefan Agner <stefan@agner.ch>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/mxsfb.c