Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/putter Mark putter as MODULE_CLASS_DRIVER to make it...



details:   https://anonhg.NetBSD.org/src/rev/e285c45e2d63
branches:  trunk
changeset: 749759:e285c45e2d63
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Dec 07 13:41:44 2009 +0000

description:
Mark putter as MODULE_CLASS_DRIVER to make it autoloadable.  This
fixes autoloading of puffs upon mount.

diffstat:

 sys/dev/putter/putter.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4f07b6e6fbb4 -r e285c45e2d63 sys/dev/putter/putter.c
--- a/sys/dev/putter/putter.c   Mon Dec 07 11:28:37 2009 +0000
+++ b/sys/dev/putter/putter.c   Mon Dec 07 13:41:44 2009 +0000
@@ -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 @@
        return i;
 }
 
-MODULE(MODULE_CLASS_MISC, putter, NULL);
+MODULE(MODULE_CLASS_DRIVER, putter, NULL);
 
 static int
 putter_modcmd(modcmd_t cmd, void *arg)



Home | Main Index | Thread Index | Old Index