summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-07 19:12:10 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:03 -0700
commit606397db856af2b66947daed4a4a927c37951fe8 (patch)
treee5cfde728f26bb46e9488e1526c967b2a12ab846
parent[PATCH] add support for i2c-adapter devices to wait_for_sysfs.c (diff)
downloadsystemd-606397db856af2b66947daed4a4a927c37951fe8.tar.gz
systemd-606397db856af2b66947daed4a4a927c37951fe8.tar.bz2
systemd-606397db856af2b66947daed4a4a927c37951fe8.zip
[PATCH] added support for i2c devices in wait_for_sysfs.c
-rw-r--r--wait_for_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index 5e8874cf7..16ee50e4a 100644
--- a/wait_for_sysfs.c
+++ b/wait_for_sysfs.c
@@ -182,6 +182,7 @@ static int wait_for_bus_device(struct sysfs_device *device_dev)
{ .bus = "ide", .file = "detach_state" },
{ .bus = "pci", .file = "vendor" },
{ .bus = "platform", .file = "detach_state" },
+ { .bus = "i2c", .file = "detach_state" },
{ NULL }
};
struct bus_file *busfile;