xf86: fix hotplug header include in platform_noop.c

In this branch, only hotplug.h exists, not hotplug_priv.h

Fixes: 79d39eabd ("xfree86: platform_noop: add missing functions")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2157>
This commit is contained in:
Alan Coopersmith 2026-03-29 11:31:49 -07:00 committed by Marge Bot
parent 5106461e31
commit a174db79e9

View file

@ -3,8 +3,6 @@
#include <xorg-config.h>
#endif
#include "config/hotplug_priv.h"
#ifdef XSERVER_PLATFORM_BUS
/* noop platform device support */
#include "xf86_OSproc.h"
@ -12,6 +10,8 @@
#include "xf86.h"
#include "xf86platformBus.h"
#include "hotplug.h"
Bool
xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid)
{