summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_device.c b/sys/kern/kern_device.c
index cb9a6a1..cbba965 100644
--- a/sys/kern/kern_device.c
+++ b/sys/kern/kern_device.c
@@ -59,7 +59,7 @@ device_fetch(dev_t major, dev_t minor)
}
dev_t
-create_dev(struct device *dev, dev_t major, dev_t minor)
+device_create(struct device *dev, dev_t major, dev_t minor)
{
if (dev == NULL || minor == 0) {
return -EINVAL;