chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9085256
)
[PATCH] add support for i2c-adapter devices to wait_for_sysfs.c
author
greg@kroah.com
<greg@kroah.com>
Fri, 8 Oct 2004 01:43:31 +0000
(18:43 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:37:03 +0000
(21:37 -0700)
wait_for_sysfs.c
patch
|
blob
|
history
diff --git
a/wait_for_sysfs.c
b/wait_for_sysfs.c
index 0881b619c7aa9e15e44e6d21158b0aa0221cfc56..5e8874cf7c800926ed5db019a03d8768266083cb 100644
(file)
--- a/
wait_for_sysfs.c
+++ b/
wait_for_sysfs.c
@@
-62,6
+62,7
@@
static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev
{ .subsystem = "pcmcia_socket", .file = "card_type" },
{ .subsystem = "usb_host", .file = NULL },
{ .subsystem = "bluetooth", .file = "address" },
+ { .subsystem = "i2c-adapter", .file = NULL },
{ NULL, NULL }
};
struct class_file *classfile;
@@
-151,6
+152,7
@@
static int class_device_expect_no_bus(struct sysfs_class_device *class_dev)
{
static char *devices_without_bus[] = {
"scsi_host",
+ "i2c-adapter",
NULL
};
char **device;