From: greg@kroah.com Date: Fri, 8 Oct 2004 02:12:10 +0000 (-0700) Subject: [PATCH] added support for i2c devices in wait_for_sysfs.c X-Git-Tag: 034~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=606397db856af2b66947daed4a4a927c37951fe8;p=elogind.git [PATCH] added support for i2c devices in wait_for_sysfs.c --- 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;