summaryrefslogtreecommitdiff
path: root/udev_sysfs.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-06-22 02:11:59 +0200
committerKay Sievers <kay.sievers@suse.de>2005-06-22 02:11:59 +0200
commitc9b8dbfb652a10d2f1c1b122a3806c21cab87ab4 (patch)
treeb5becd9919e10fc73f5b7bc3701ae54bf689aeb2 /udev_sysfs.c
parent972d318a3123b00d0ed6b78bbcf70a0965841a8e (diff)
fix the fix and change the file to wait for to the "bus" link
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_sysfs.c')
-rw-r--r--udev_sysfs.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/udev_sysfs.c b/udev_sysfs.c
index 5c43190644..90ce48caea 100644
--- a/udev_sysfs.c
+++ b/udev_sysfs.c
@@ -297,38 +297,38 @@ int wait_for_devices_device(struct sysfs_device *devices_dev,
{ .bus = "usb", .file = "idVendor" },
{ .bus = "usb", .file = "iInterface" },
{ .bus = "usb", .file = "bNumEndpoints" },
- { .bus = "usb-serial", .file = "power" },
- { .bus = "ide", .file = "power" },
+ { .bus = "usb-serial", .file = "bus" },
+ { .bus = "ide", .file = "bus" },
{ .bus = "pci", .file = "vendor" },
- { .bus = "platform", .file = "power" },
- { .bus = "pcmcia", .file = "power" },
- { .bus = "i2c", .file = "power" },
+ { .bus = "platform", .file = "bus" },
+ { .bus = "pcmcia", .file = "bus" },
+ { .bus = "i2c", .file = "bus" },
{ .bus = "ieee1394", .file = "node_count" },
{ .bus = "ieee1394", .file = "nodeid" },
{ .bus = "ieee1394", .file = "address" },
{ .bus = "bttv-sub", .file = NULL },
- { .bus = "pnp", .file = "power" },
- { .bus = "eisa", .file = "power" },
- { .bus = "serio", .file = "power" },
- { .bus = "pseudo", .file = "power" },
- { .bus = "mmc", .file = "power" },
- { .bus = "macio", .file = "power" },
- { .bus = "of_platform", .file = "power" },
- { .bus = "vio", .file = "power" },
- { .bus = "ecard", .file = "power" },
- { .bus = "sa1111-rab", .file = "power" },
- { .bus = "amba", .file = "power" },
- { .bus = "locomo-bus", .file = "power" },
- { .bus = "logicmodule", .file = "power" },
- { .bus = "parisc", .file = "power" },
- { .bus = "ocp", .file = "power" },
- { .bus = "dio", .file = "power" },
- { .bus = "MCA", .file = "power" },
- { .bus = "wl", .file = "power" },
- { .bus = "ccwgroup", .file = "power" },
- { .bus = "css", .file = "power" },
- { .bus = "ccw", .file = "power" },
- { .bus = "iucv", .file = "power" },
+ { .bus = "pnp", .file = "bus" },
+ { .bus = "eisa", .file = "bus" },
+ { .bus = "serio", .file = "bus" },
+ { .bus = "pseudo", .file = "bus" },
+ { .bus = "mmc", .file = "bus" },
+ { .bus = "macio", .file = "bus" },
+ { .bus = "of_platform", .file = "bus" },
+ { .bus = "vio", .file = "bus" },
+ { .bus = "ecard", .file = "bus" },
+ { .bus = "sa1111-rab", .file = "bus" },
+ { .bus = "amba", .file = "bus" },
+ { .bus = "locomo-bus", .file = "bus" },
+ { .bus = "logicmodule", .file = "bus" },
+ { .bus = "parisc", .file = "bus" },
+ { .bus = "ocp", .file = "bus" },
+ { .bus = "dio", .file = "bus" },
+ { .bus = "MCA", .file = "bus" },
+ { .bus = "wl", .file = "bus" },
+ { .bus = "ccwgroup", .file = "bus" },
+ { .bus = "css", .file = "bus" },
+ { .bus = "ccw", .file = "bus" },
+ { .bus = "iucv", .file = "bus" },
{ NULL, NULL }
};
const struct device_file *devicefile = NULL;