diff options
author | Ian Moffett <ian@osmora.org> | 2024-04-18 14:33:50 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-18 14:33:50 -0400 |
commit | b0c1b65926d66482099e958e6218e8890531e47f (patch) | |
tree | 3859e16f2d29b7ffd847acce1c46e9ae7d38eafa /sys/dev/ic/nvme.c | |
parent | 8575c3bf131c42841b66aae7acf96b7310524f56 (diff) |
kernel: devfs: Rename devfs_add_blkdev()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/ic/nvme.c')
-rw-r--r-- | sys/dev/ic/nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index 4dd5f8e..addfd66 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -413,7 +413,7 @@ nvme_init_ns(struct nvme_state *state, uint16_t nsid) ns->dev_id = device_create(dev, state->major, nsid); snprintf(devname, sizeof(devname), "nvme0n%d", nsid); - if (devfs_add_blkdev(devname, dev) != 0) { + if (devfs_add_dev(devname, dev) != 0) { KERR("Failed to create /dev/%s\n", devname); } |