aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/device.h b/sys/include/sys/device.h
index 69e367f..1bca4a8 100644
--- a/sys/include/sys/device.h
+++ b/sys/include/sys/device.h
@@ -43,6 +43,7 @@ struct device {
int(*read)(struct device *dev, struct sio_txn *sio);
int(*ioctl)(struct device *dev, uint32_t cmd, uintptr_t arg);
int(*open)(struct device *dev);
+ int(*close)(struct device *dev);
paddr_t(*mmap)(struct device *dev, off_t off, vm_prot_t prot);
TAILQ_ENTRY(device) link;
};