summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wait_for_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index 6f396b96ca..292edfad13 100644
--- a/wait_for_sysfs.c
+++ b/wait_for_sysfs.c
@@ -60,7 +60,7 @@ static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev
{ .subsystem = "net", .file = "ifindex" },
{ .subsystem = "scsi_host", .file = "unique_id" },
{ .subsystem = "scsi_device", .file = NULL },
- { .subsystem = "pcmcia_socket", .file = "card_type" },
+ { .subsystem = "pcmcia_socket", .file = NULL }, /* all files are unreadable in empty slot :( */
{ .subsystem = "usb_host", .file = NULL },
{ .subsystem = "bluetooth", .file = "address" },
{ .subsystem = "i2c-adapter", .file = NULL },