From 7e3b1d43f9d07531456cb0d6a0b821079280eef4 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 30 Jan 2026 17:42:41 +0100 Subject: [PATCH] xfree86: unexport xf86PlatformDeviceCheckBusID() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86platformBus.h | 3 --- hw/xfree86/common/xf86platformBus_priv.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/common/xf86platformBus.h b/hw/xfree86/common/xf86platformBus.h index b9be4480d5..51184ab226 100644 --- a/hw/xfree86/common/xf86platformBus.h +++ b/hw/xfree86/common/xf86platformBus.h @@ -84,9 +84,6 @@ _xf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int at #define xf86_get_platform_device_int_attrib(device, attrib, def) _xf86_get_platform_device_int_attrib(device,attrib,_ODEV_ATTRIB_INT_CHECK(attrib,def)) -extern _X_EXPORT Bool -xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid); - #endif #endif diff --git a/hw/xfree86/common/xf86platformBus_priv.h b/hw/xfree86/common/xf86platformBus_priv.h index 756d8fec66..71ac428585 100644 --- a/hw/xfree86/common/xf86platformBus_priv.h +++ b/hw/xfree86/common/xf86platformBus_priv.h @@ -42,6 +42,8 @@ void xf86platformRemoveDevice(int index); void xf86platformVTProbe(void); void xf86platformPrimary(void); +Bool xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid); + #else /* XSERVER_PLATFORM_BUS */ static inline int xf86platformAddGPUDevices(DriverPtr drvp) { return FALSE; }