chiark / gitweb /
[PATCH] udevsend/udevd handle events without a subsystem
[elogind.git] / udev_sysfs.c
index 7293407be1251fd2ca6fc0fe2ad9e133abc72278..6655968433cfb47a63d6373b3650b5c8e7a95279 100644 (file)
@@ -31,7 +31,7 @@
 #include "libsysfs/sysfs/libsysfs.h"
 #include "udev_version.h"
 #include "udev_sysfs.h"
-#include "udev_lib.h"
+#include "udev_utils.h"
 #include "logging.h"
 
 /* list of subsystem specific files, NULL if there is no file to wait for */
@@ -267,7 +267,6 @@ int wait_for_devices_device(struct sysfs_device *devices_dev,
                const char *file;
        } device_files[] = {
                { .bus = "scsi",        .file = "vendor" },
-               { .bus = "usb",         .file = NULL },
                { .bus = "usb",         .file = "idVendor" },
                { .bus = "usb",         .file = "iInterface" },
                { .bus = "usb",         .file = "bNumEndpoints" },