chiark / gitweb /
[PATCH] added support for i2c devices in wait_for_sysfs.c
authorgreg@kroah.com <greg@kroah.com>
Fri, 8 Oct 2004 02:12:10 +0000 (19:12 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:03 +0000 (21:37 -0700)
wait_for_sysfs.c

index 5e8874cf7c800926ed5db019a03d8768266083cb..16ee50e4a765809aa8b983ac1c5c5038991ca641 100644 (file)
@@ -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;