From 97d888144dc6c4773bb5310cc2bd68f06c9d88ee Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 24 Apr 2024 19:41:12 -0400 Subject: kernel: device: Replace DEVICE_ALLOC() Signed-off-by: Ian Moffett --- sys/dev/ic/nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ic/nvme.c') diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index f471627..73533da 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -406,7 +406,7 @@ nvme_init_ns(struct nvme_state *state, uint16_t nsid) ns->cntl = state; nvme_create_ioq(ns, ns->nsid); - dev = DEVICE_ALLOC(); + dev = device_alloc(); dev->read = nvme_dev_read; dev->write = nvme_dev_write; dev->blocksize = ns->lba_bsize; -- cgit v1.2.3