summaryrefslogtreecommitdiff
path: root/sys/dev/smbus/smb.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 21:10:55 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 21:10:55 +0000
commitdc08ffec870569914f44bcf26aa838310e343764 (patch)
tree0896a7d99c90ad922a1e4b41f052d155256cb97e /sys/dev/smbus/smb.c
parentc33f7bb853b2c9fc395b43274891a8975a675553 (diff)
Notes
Diffstat (limited to 'sys/dev/smbus/smb.c')
-rw-r--r--sys/dev/smbus/smb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c
index 280bda52da49..85ab273b8b6a 100644
--- a/sys/dev/smbus/smb.c
+++ b/sys/dev/smbus/smb.c
@@ -88,6 +88,8 @@ static d_read_t smbread;
static d_ioctl_t smbioctl;
static struct cdevsw smb_cdevsw = {
+ .d_version = D_VERSION,
+ .d_flags = D_NEEDGIANT,
.d_open = smbopen,
.d_close = smbclose,
.d_read = smbread,