diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2016-02-22 01:55:17 +0000 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-02-26 13:06:11 +0200 |
commit | e26d682e929d2e4141a4e08d7acc320896289b62 (patch) | |
tree | 30cbf973c297cfffa7f8f515c25dd62b39a49197 /drivers/video | |
parent | df0821043f05cef211db34fca25a218f8c6b4b48 (diff) | |
download | linux-e26d682e929d2e4141a4e08d7acc320896289b62.tar.bz2 |
video: fbdev: bt455: Remove unneeded colormap helpers for cursor support
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/bt455.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/video/fbdev/bt455.h b/drivers/video/fbdev/bt455.h index 80f61b03e9ae..9d584f99867b 100644 --- a/drivers/video/fbdev/bt455.h +++ b/drivers/video/fbdev/bt455.h @@ -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; -} |