summaryrefslogtreecommitdiff
path: root/wait_for_sysfs.c
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 /wait_for_sysfs.c
parent1a13fcb3dd814107d20ff2d26659cb2d6e63b354 (diff)
[PATCH] added support for i2c devices in wait_for_sysfs.c
Diffstat (limited to '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 5e8874cf7c..16ee50e4a7 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;