Deleted Added
full compact
18c18
< * $Id: apm.c,v 1.101 1999/08/22 14:48:00 iwasaki Exp $
---
> * $Id: apm.c,v 1.102 1999/08/22 19:51:33 peter Exp $
21,22d20
< #include "opt_devfs.h"
<
28,30d25
< #ifdef DEVFS
< #include <sys/devfsext.h>
< #endif /*DEVFS*/
82,84d76
< #ifdef DEVFS
< void *sc_devfs_token;
< #endif
1134,1137c1126
< #ifdef DEVFS
< sc->sc_devfs_token =
< devfs_add_devswf(&apm_cdevsw, 0, DV_CHR, 0, 0, 0600, "apm");
< #endif
---
> make_dev(&apm_cdevsw, 0, 0, 0, 0600, "apm");