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:
Zsolt Kajtar 2025-03-10 07:57:45 +01:00 committed by Helge Deller
parent 5fc830d6ac
commit b8389cbe2d

View File

@ -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.
*/