From e2ac4616290ed9b67a201465fafa0ab4e2b00a4b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 28 Feb 2025 15:05:46 +0100 Subject: [PATCH] xfree86: platform_noop: add missing functions In order to be able to build on Linux w/ platform_noop (when no recent enough libdrm found), a few more dummy functions are needed here. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/os-support/shared/platform_noop.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/os-support/shared/platform_noop.c b/hw/xfree86/os-support/shared/platform_noop.c index 2ff1deafa..ed0ff93ed 100644 --- a/hw/xfree86/os-support/shared/platform_noop.c +++ b/hw/xfree86/os-support/shared/platform_noop.c @@ -3,6 +3,8 @@ #include #endif +#include "config/hotplug_priv.h" + #ifdef XSERVER_PLATFORM_BUS /* noop platform device support */ #include "xf86_OSproc.h" @@ -19,6 +21,18 @@ xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *bu void xf86PlatformDeviceProbe(struct OdevAttributes *attribs) { - } + +void xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs) +{ +} + +void DeleteGPUDeviceRequest(struct OdevAttributes *attribs) +{ +} + +void NewGPUDeviceRequest(struct OdevAttributes *attribs) +{ +} + #endif