summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/conf.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-21 15:40:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-21 15:40:05 +0000
commitbe10e0d3b7db5423875ff7e3151acb0ceefb02cc (patch)
tree82aea4408cd97ac89e042e71b69d87ce0da8a8ca /sys/arch/i386/include/conf.h
parent104e86c5743e8304b65c89f63fc9a8e1f04bc61a (diff)
Fix more cdev initializations which were using enodev for poll; ok kettenis
Diffstat (limited to 'sys/arch/i386/include/conf.h')
-rw-r--r--sys/arch/i386/include/conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/conf.h b/sys/arch/i386/include/conf.h
index 2c6e683ec90..4de0d70ac7e 100644
--- a/sys/arch/i386/include/conf.h
+++ b/sys/arch/i386/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.13 2007/11/25 15:42:15 tedu Exp $ */
+/* $OpenBSD: conf.h,v 1.14 2010/07/21 15:40:04 deraadt Exp $ */
/* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */
/*
@@ -52,7 +52,7 @@ cdev_decl(pc);
#define cdev_acpiapm_init(c,n) {\
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
(dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
- (dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \
+ (dev_type_stop((*))) enodev, 0, selfalse, \
(dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) }
cdev_decl(spkr);