summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/nvme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index f3a16ce..ac6fb74 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -654,7 +654,8 @@ nvme_init(void)
}
static struct bdevsw nvme_bdevsw = {
- .read = nvme_dev_read
+ .read = nvme_dev_read,
+ .write = nowrite
};
DRIVER_EXPORT(nvme_init);