X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev_sysfs.c;h=fc7ee885b0b91fd08d208955f369991d489a33f4;hp=f0666509eaca5b87614d4124eb5a5e0d014ff4c5;hb=75bc9b086fe0f212e52da8425e4a4cb2d8f38090;hpb=7e720bd4ad8257d81d273d98294ebbcc03ade9ba diff --git a/udev_sysfs.c b/udev_sysfs.c index f0666509e..fc7ee885b 100644 --- a/udev_sysfs.c +++ b/udev_sysfs.c @@ -172,6 +172,7 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d { .subsystem = "input", .device = "mice" }, { .subsystem = "input", .device = "mouse" }, { .subsystem = "input", .device = "ts" }, + { .subsystem = "input", .device = "js" }, { .subsystem = "vc", .device = NULL }, { .subsystem = "tty", .device = NULL }, { .subsystem = "cpuid", .device = "cpu" }, @@ -307,6 +308,7 @@ int wait_for_devices_device(struct sysfs_device *devices_dev, { .bus = "bttv-sub", .file = NULL }, { .bus = "pnp", .file = "detach_state" }, { .bus = "eisa", .file = "detach_state" }, + { .bus = "serio", .file = "detach_state" }, { .bus = "pseudo", .file = "detach_state" }, { .bus = "mmc", .file = "detach_state" }, { .bus = "macio", .file = "detach_state" }, @@ -328,7 +330,7 @@ int wait_for_devices_device(struct sysfs_device *devices_dev, { .bus = "iucv", .file = "detach_state" }, { NULL, NULL } }; - const struct device_file *devicefile; + const struct device_file *devicefile = NULL; int loop; /* the kernel may tell us what to wait for */