Don't call devsw_add().
This commit is contained in:
parent
20a3b67cb2
commit
9f441d5a6d
@ -371,10 +371,6 @@ ascprobe (struct isa_device *isdp)
|
||||
int unit = isdp->id_unit;
|
||||
struct asc_unit *scu = unittab + unit;
|
||||
int stb;
|
||||
static int once;
|
||||
|
||||
if (!once++)
|
||||
cdevsw_add(&asc_cdevsw);
|
||||
|
||||
scu->base = isdp->id_iobase; /*** needed by the following macros ***/
|
||||
scu->flags = FLAG_DEBUG;
|
||||
|
Loading…
Reference in New Issue
Block a user