summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_device.c b/udev_device.c
index 3c4ac913ed..ed41c856e5 100644
--- a/udev_device.c
+++ b/udev_device.c
@@ -147,7 +147,7 @@ int udev_device_event(struct udev_rules *rules, struct udevice *udev)
/* add device node */
if (major(udev->devt) != 0 &&
- (strcmp(udev->action, "add") == 0 || strcmp(udev->action, "online") == 0)) {
+ (strcmp(udev->action, "add") == 0 || strcmp(udev->action, "change") == 0)) {
struct udevice *udev_old;
dbg("device node add '%s'", udev->dev->devpath);