summaryrefslogtreecommitdiffstats
path: root/sys/dev/vkbd
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-10-18 08:09:44 +0000
committered <ed@FreeBSD.org>2011-10-18 08:09:44 +0000
commit832b15d2892554b2c0a2cee0eed9ac42c333606b (patch)
treeeb0defb246740f5e1409bc9224c1136f3e8ddbe3 /sys/dev/vkbd
parent9ae319147303a93acadebefb29731814c8bad338 (diff)
downloadFreeBSD-src-832b15d2892554b2c0a2cee0eed9ac42c333606b.zip
FreeBSD-src-832b15d2892554b2c0a2cee0eed9ac42c333606b.tar.gz
Get rid of D_PSEUDO.
It seems the D_PSEUDO flag was meant to allow make_dev() to return NULL. Nowadays we have a different interface for that; make_dev_p(). There's no need to keep it there. While there, remove an unneeded D_NEEDMINOR from the gpio driver. Discussed with: gonzo@ (gpio)
Diffstat (limited to 'sys/dev/vkbd')
-rw-r--r--sys/dev/vkbd/vkbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vkbd/vkbd.c b/sys/dev/vkbd/vkbd.c
index 42fca40..81418f2 100644
--- a/sys/dev/vkbd/vkbd.c
+++ b/sys/dev/vkbd/vkbd.c
@@ -158,7 +158,7 @@ static int vkbd_data_read(vkbd_state_t *, int);
static struct cdevsw vkbd_dev_cdevsw = {
.d_version = D_VERSION,
- .d_flags = D_PSEUDO | D_NEEDGIANT | D_NEEDMINOR,
+ .d_flags = D_NEEDGIANT | D_NEEDMINOR,
.d_open = vkbd_dev_open,
.d_close = vkbd_dev_close,
.d_read = vkbd_dev_read,
OpenPOWER on IntegriCloud