diff options
Diffstat (limited to 'udev/udev_device_event.c')
-rw-r--r-- | udev/udev_device_event.c | 2 |
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) { |