summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-12 22:55:08 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commit3b6ed8bb06d18a2855d530dcb9034e9d37114827 (patch)
treea277f9484ba8098e6fa9af293ee0e33e28407ae5 /udev_rules.c
parente5e322bc627a07d29a07e08f7c96bd644a3ae057 (diff)
[PATCH] add OPTION="last_rule" to skip any later rule
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/udev_rules.c b/udev_rules.c
index cbdf7de317..16f23ccb04 100644
--- a/udev_rules.c
+++ b/udev_rules.c
@@ -759,6 +759,12 @@ int udev_rules_get_name(struct udevice *udev, struct sysfs_class_device *class_d
break;
}
+
+ if (rule->last_rule) {
+ dbg("last rule to be applied");
+ break;
+ }
+
}
}