diff options
| author | pooka <pooka@NetBSD.org> | 2009-12-07 13:41:44 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2009-12-07 13:41:44 +0000 |
| commit | 20f444ae36bca974aa7316ecbffb3f01dea7f91c (patch) | |
| tree | 5bf6a60142289a3384e110eaa9af232a00e2ebb2 /sys/dev/putter | |
| parent | 7ef930a8ee4f129cdd0d8c9b501f7e9c601932d9 (diff) | |
Mark putter as MODULE_CLASS_DRIVER to make it autoloadable. This
fixes autoloading of puffs upon mount.
Diffstat (limited to 'sys/dev/putter')
| -rw-r--r-- | sys/dev/putter/putter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/putter/putter.c b/sys/dev/putter/putter.c index a8a94d11562..14d31351ac0 100644 --- a/sys/dev/putter/putter.c +++ b/sys/dev/putter/putter.c @@ -1,4 +1,4 @@ -/* $NetBSD: putter.c,v 1.23 2009/04/11 23:05:26 christos Exp $ */ +/* $NetBSD: putter.c,v 1.24 2009/12/07 13:41:44 pooka Exp $ */ /* * Copyright (c) 2006, 2007 Antti Kantee. All Rights Reserved. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.23 2009/04/11 23:05:26 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.24 2009/12/07 13:41:44 pooka Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -642,7 +642,7 @@ get_pi_idx(struct putter_instance *pi_i) return i; } -MODULE(MODULE_CLASS_MISC, putter, NULL); +MODULE(MODULE_CLASS_DRIVER, putter, NULL); static int putter_modcmd(modcmd_t cmd, void *arg) |
