--- a/config/udev.c
+++ b/config/udev.c
-@@ -98,7 +98,7 @@
+@@ -98,7 +98,7 @@ device_added(struct udev_device *udev_de
if (strncmp(sysname, "card", 4) != 0)
return;
config_udev_odev_setup_attribs(path, syspath, NewGPUDeviceRequest);
return;
-@@ -430,11 +430,23 @@
+@@ -430,11 +430,23 @@ config_udev_fini(void)
#ifdef CONFIG_UDEV_KMS
static Bool
if (!attribs)
return FALSE;
-@@ -447,6 +459,33 @@
+@@ -447,6 +459,33 @@ config_udev_odev_setup_attribs(const cha
if (ret == FALSE)
goto fail;
Bool
xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid)
{
-@@ -105,11 +67,6 @@
+@@ -105,11 +67,6 @@ xf86PlatformReprobeDevice(int index, str
char *dpath;
dpath = xf86_get_platform_attrib(index, ODEV_ATTRIB_PATH);
ret = xf86platformAddDevice(index);
if (ret == -1)
xf86_remove_platform_device(index);
-@@ -145,18 +102,10 @@
+@@ -145,18 +102,10 @@ xf86PlatformDeviceProbe(struct OdevAttri
LogMessage(X_INFO, "xfree86: Adding drm device (%s)\n", path);