From ed47f732435b446b2ae0a3f50b87b511684fa029 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 10 Apr 2024 19:35:26 -0400 Subject: kernel: create_dev() -> device_create() Signed-off-by: Ian Moffett --- sys/kern/kern_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern') 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; -- cgit v1.2.3