summaryrefslogtreecommitdiff
path: root/udev/udev_device_event.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-01 20:59:09 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-01 20:59:09 +0200
commit44aff4cd6d74d230e4a97f8d59f780472b7cad6e (patch)
tree893df31fbb0c2005226435a21aa7041e19d75e6e /udev/udev_device_event.c
parent0d1c29c3d143232dfedf0881524bb2ef803c3067 (diff)
udev_device_init() remove statically allocated device support
Diffstat (limited to 'udev/udev_device_event.c')
-rw-r--r--udev/udev_device_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev_device_event.c b/udev/udev_device_event.c
index 045035d44e..8ad79644af 100644
--- a/udev/udev_device_event.c
+++ b/udev/udev_device_event.c
@@ -146,7 +146,7 @@ int udev_device_event(struct udev_rules *rules, struct udevice *udev)
}
/* read current database entry; cleanup, if it is known device */
- udev_old = udev_device_init(NULL);
+ udev_old = udev_device_init();
if (udev_old != NULL) {
udev_old->test_run = udev->test_run;
if (udev_db_get_device(udev_old, udev->dev->devpath) == 0) {