freedreno: fix FTBS on non-Linux platforms (unused header)

The <linux/fb.h> header only exists on Linux, but isn't used anymore,
so drop it entirely.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-24 11:29:12 +02:00 committed by Simon Ser
parent 90c1a35f2a
commit b7338fc842

View file

@ -28,8 +28,6 @@
#include "kgsl_priv.h" #include "kgsl_priv.h"
#include <linux/fb.h>
static int set_memtype(struct fd_device *dev, uint32_t handle, uint32_t flags) static int set_memtype(struct fd_device *dev, uint32_t handle, uint32_t flags)
{ {
struct drm_kgsl_gem_memtype req = { struct drm_kgsl_gem_memtype req = {