summaryrefslogtreecommitdiff
path: root/udev/udev-builtin.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-24 17:58:52 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-24 17:58:52 +0100
commit779f4de1b93b77f84527d9916a1af462fc2579a1 (patch)
tree7eb5646c25685e3ce8e70a200fcce309f51cfe84 /udev/udev-builtin.c
parentf775ccfcf2fadfc1224405b676a8b64d2a19f3ad (diff)
builtin: rename load()/unload() to init()/exit()
Diffstat (limited to 'udev/udev-builtin.c')
-rw-r--r--udev/udev-builtin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/udev/udev-builtin.c b/udev/udev-builtin.c
index 6dfd006710..baf09b91b9 100644
--- a/udev/udev-builtin.c
+++ b/udev/udev-builtin.c
@@ -33,23 +33,23 @@ static const struct udev_builtin *builtins[] = {
[UDEV_BUILTIN_KMOD] = &udev_builtin_kmod,
};
-int udev_builtin_load(struct udev *udev)
+int udev_builtin_init(struct udev *udev)
{
unsigned int i;
for (i = 0; i < ARRAY_SIZE(builtins); i++)
- if (builtins[i]->load)
- builtins[i]->load(udev);
+ if (builtins[i]->init)
+ builtins[i]->init(udev);
return 0;
}
-int udev_builtin_unload(struct udev *udev)
+int udev_builtin_exit(struct udev *udev)
{
unsigned int i;
for (i = 0; i < ARRAY_SIZE(builtins); i++)
- if (builtins[i]->unload)
- builtins[i]->unload(udev);
+ if (builtins[i]->exit)
+ builtins[i]->exit(udev);
return 0;
}