xfree86: unexport xf86PlatformMatchDriver()

Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1738>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-10-31 17:21:24 +01:00 committed by Povilas Kanapickas
parent 16ca87703c
commit 0b123a0413
2 changed files with 2 additions and 5 deletions

View File

@ -36,5 +36,7 @@ typedef struct _XF86MatchedDrivers {
*/ */
void xf86AddMatchedDriver(XF86MatchedDrivers *, const char *); void xf86AddMatchedDriver(XF86MatchedDrivers *, const char *);
void xf86PlatformMatchDriver(XF86MatchedDrivers *);
#endif /* _xf86_match_drivers_h */ #endif /* _xf86_match_drivers_h */

View File

@ -24,8 +24,6 @@
#ifndef XF86_PLATFORM_BUS_H #ifndef XF86_PLATFORM_BUS_H
#define XF86_PLATFORM_BUS_H #define XF86_PLATFORM_BUS_H
#include "xf86MatchDrivers.h"
struct xf86_platform_device { struct xf86_platform_device {
struct OdevAttributes *attribs; struct OdevAttributes *attribs;
/* for PCI devices */ /* for PCI devices */
@ -128,9 +126,6 @@ _xf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int at
extern _X_EXPORT Bool extern _X_EXPORT Bool
xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid); xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid);
extern _X_EXPORT void
xf86PlatformMatchDriver(XF86MatchedDrivers *);
extern void xf86platformVTProbe(void); extern void xf86platformVTProbe(void);
extern void xf86platformPrimary(void); extern void xf86platformPrimary(void);