From 73db0ed5d41194f3a900b8af134cf40eabb8b18c Mon Sep 17 00:00:00 2001 From: Joseph Crowell Date: Sun, 3 Aug 2025 20:00:45 +1000 Subject: [PATCH] xfree86: drivers: common: remove incorrect #ifndef _XORG_CONFIG_H_ These functions are not defined anywhere else and are still necessary in the AMD drivers when using #include --- hw/xfree86/common/xf86platformBus.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/xfree86/common/xf86platformBus.h b/hw/xfree86/common/xf86platformBus.h index 7d4852ee86..e91c443283 100644 --- a/hw/xfree86/common/xf86platformBus.h +++ b/hw/xfree86/common/xf86platformBus.h @@ -98,8 +98,6 @@ _xf86_get_platform_device_attrib(struct xf86_platform_device *device, int attrib _X_EXPORT int _xf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int attrib, int (*fake)[0]); -#ifndef _XORG_CONFIG_H_ - /* Protect against a mismatch attribute type by generating a compiler * error using a negative array size when an incorrect attribute is * passed @@ -121,8 +119,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)) -#endif - extern _X_EXPORT Bool xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid);