video: fbdev: vesafb: add missing mtrr_del() for added MTRR
authorLuis R. Rodriguez <mcgrof@suse.com>
Thu, 4 Jun 2015 16:44:47 +0000 (09:44 -0700)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 16 Jun 2015 06:42:11 +0000 (09:42 +0300)
commit6b41f27dce701f2be0c47e7f42a885afa6f23477
treea5b59daca6cb49aba038d064d6fe4c86e6e01d1f
parent87b81762a893319921405ad6932f220c02ca88a7
video: fbdev: vesafb: add missing mtrr_del() for added MTRR

The MTRR added was never being deleted, in order to store the
MTRR cookie we need to make use of the private info->par so we
create a struct for this. This driver was already using the extra
space typically used for info->par for the info->pseudo_palette
which typically used stuffed on driver's own private structs
(the respective info->par), so we just move the pseudo_palette
into the private struct as well.

Cc: Toshi Kani <toshi.kani@hp.com>
Cc: Suresh Siddha <sbsiddha@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Juergen Gross <jgross@suse.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/vesafb.c