From f3732fd15b5a493a090a0453f937a78949c65f7d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 17 Jun 2004 17:16:53 +0000 Subject: Second half of the dev_t cleanup. The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc. --- sys/dev/firewire/fwdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/firewire') diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index 5d104156ba03..cffb6369b747 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -848,7 +848,7 @@ fwdev_clone(void *arg, char *name, int namelen, struct cdev **dev) int devflag[NDEVTYPE] = {0, FWMEM_FLAG}; int i, unit = 0, sub = 0; - if (*dev != NODEV) + if (*dev != NULL) return; for (i = 0; i < NDEVTYPE; i++) -- cgit v1.3