summaryrefslogtreecommitdiff
path: root/udev-add.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-03-24 20:46:58 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:11 -0700
commitdd64e26b0c88892b367f57c4c7a7484e35641c7c (patch)
tree6eb28d0faabe982a9746a9c4aa986547f68cf8f3 /udev-add.c
parent615ba3e82b2e49e06bbf9ad3e6a8ab6f0446ee26 (diff)
[PATCH] add /etc/dev.d/ support for udev add and remove events.
Diffstat (limited to 'udev-add.c')
-rw-r--r--udev-add.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/udev-add.c b/udev-add.c
index 2bd16014f5..94a423dc6e 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -417,8 +417,10 @@ int udev_add_device(char *path, char *subsystem, int fake)
dbg("name='%s'", dev.name);
retval = create_node(&dev, fake);
- if ((retval == 0) && (!fake))
+ if ((retval == 0) && (!fake)) {
+ dev_d_send(&dev, subsystem);
sysbus_send_create(&dev, path);
+ }
exit:
if (class_dev)