Files
xserver/hw/xfree86/os-support/shared/platform_noop.c
Enrico Weigelt, metux IT consult e2ac461629 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 <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1848>
2025-02-28 16:15:32 +00:00

39 lines
652 B
C

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "config/hotplug_priv.h"
#ifdef XSERVER_PLATFORM_BUS
/* noop platform device support */
#include "xf86_OSproc.h"
#include "xf86.h"
#include "xf86_os_support.h"
#include "xf86platformBus.h"
Bool
xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid)
{
return FALSE;
}
void xf86PlatformDeviceProbe(struct OdevAttributes *attribs)
{
}
void xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs)
{
}
void DeleteGPUDeviceRequest(struct OdevAttributes *attribs)
{
}
void NewGPUDeviceRequest(struct OdevAttributes *attribs)
{
}
#endif