summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-10 19:35:26 -0400
committerIan Moffett <ian@osmora.org>2024-04-10 19:35:26 -0400
commited47f732435b446b2ae0a3f50b87b511684fa029 (patch)
treee6e0477b1de6423030143debd718fe342bc3efd5 /sys/kern
parent434b79c0be7fdd72dd965615104b00f52b1dc4c3 (diff)
kernel: create_dev() -> device_create()
Signed-off-by: Ian Moffett <ian@osmora.org>
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;