Remove the definition of cdev_uk_init() as this is done in <sys/conf.h>
This commit is contained in:
parent
58e481e13b
commit
55db7609fb
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.13 1996/09/08 00:40:08 mycroft Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.14 1996/10/15 01:42:18 mark Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Mark Brinicombe.
|
||||
@ -164,13 +164,6 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
|
||||
(dev_type_stop((*))) enodev, \
|
||||
0, seltrue, dev_init(c,n,mmap), 0 }
|
||||
|
||||
/* open, close, write, ioctl */
|
||||
#define cdev_uk_init(c,n) { \
|
||||
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
|
||||
dev_init(c,n,write), dev_init(c,n,ioctl), \
|
||||
(dev_type_stop((*))) enodev, \
|
||||
0, seltrue, (dev_type_mmap((*))) enodev, 0 }
|
||||
|
||||
/* open, close, write, ioctl */
|
||||
#define cdev_iic_init(c,n) { \
|
||||
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
|
||||
|
Loading…
Reference in New Issue
Block a user