diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-30 16:16:29 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-30 16:16:29 +0200 |
commit | e0083e8e69856f1b4e1e643cebb08906775cca8a (patch) | |
tree | de8d63b3a1e8a84a03e57f92e6cb6a7f20a0af0a /udev/lib/libudev-device.c | |
parent | d98bffa802b214452d34109967423f1d60df89af (diff) |
libudev: device_init() -> device_new()
Diffstat (limited to 'udev/lib/libudev-device.c')
-rw-r--r-- | udev/lib/libudev-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index f5465e9892..893ec080a6 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -193,7 +193,7 @@ void device_set_info_loaded(struct udev_device *device) device->info_loaded = 1; } -struct udev_device *device_init(struct udev *udev) +struct udev_device *device_new(struct udev *udev) { struct udev_device *udev_device; @@ -281,7 +281,7 @@ struct udev_device *udev_device_new_from_syspath(struct udev *udev, const char * } } - udev_device = device_init(udev); + udev_device = device_new(udev); if (udev_device == NULL) return NULL; |