mirror of
https://github.com/torvalds/linux.git
synced 2025-04-12 06:49:52 +00:00
fbdev: mach64_cursor: Remove fb_draw.h includes
Remove dependency on fb_draw.h to allow fbcon packed pixel drawing refactoring. Signed-off-by: Zsolt Kajtar <soci@c64.rulez.org> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
5fc830d6ac
commit
b8389cbe2d
@ -6,7 +6,6 @@
|
||||
#include <linux/fb.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/string.h>
|
||||
#include "../core/fb_draw.h"
|
||||
|
||||
#include <asm/io.h>
|
||||
|
||||
@ -57,6 +56,12 @@
|
||||
* definitation and CUR_VERT_POSN must be saturated to zero.
|
||||
*/
|
||||
|
||||
/* compose pixels based on mask */
|
||||
static inline unsigned long comp(unsigned long set, unsigned long unset, unsigned long mask)
|
||||
{
|
||||
return ((set ^ unset) & mask) ^ unset;
|
||||
}
|
||||
|
||||
/*
|
||||
* Hardware Cursor support.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user