video: fbdev: bt455: Remove unneeded colormap helpers for cursor support
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 22 Feb 2016 01:55:17 +0000 (01:55 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 26 Feb 2016 11:06:11 +0000 (13:06 +0200)
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/bt455.h

index 80f61b03e9ae1cb6cad5d5b6fb7afac6f88d22b8..9d584f99867b5e77365a908ad15493c8ac92e70a 100644 (file)
@@ -67,28 +67,3 @@ static inline void bt455_write_ovly_entry(struct bt455_regs *regs, int cr,
        wmb();
        regs->addr_ovly = blue & 0x0f;
 }
-
-static inline void bt455_set_cursor(struct bt455_regs *regs)
-{
-       mb();
-       regs->addr_ovly = 0x0f;
-       wmb();
-       regs->addr_ovly = 0x0f;
-       wmb();
-       regs->addr_ovly = 0x0f;
-}
-
-static inline void bt455_erase_cursor(struct bt455_regs *regs)
-{
-       /* bt455_write_cmap_entry(regs, 8, 0x00, 0x00, 0x00); */
-       /* bt455_write_cmap_entry(regs, 9, 0x00, 0x00, 0x00); */
-       bt455_write_ovly_entry(regs, 8, 0x03, 0x03, 0x03);
-       bt455_write_ovly_entry(regs, 9, 0x07, 0x07, 0x07);
-
-       wmb();
-       regs->addr_ovly = 0x09;
-       wmb();
-       regs->addr_ovly = 0x09;
-       wmb();
-       regs->addr_ovly = 0x09;
-}