Module Name:    src
Committed By:   pooka
Date:           Mon Dec  7 13:41:44 UTC 2009

Modified Files:
        src/sys/dev/putter: putter.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/putter/putter.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/putter/putter.c
diff -u src/sys/dev/putter/putter.c:1.23 src/sys/dev/putter/putter.c:1.24
--- src/sys/dev/putter/putter.c:1.23	Sat Apr 11 23:05:26 2009
+++ src/sys/dev/putter/putter.c	Mon Dec  7 13:41:44 2009
@@ -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)

Reply via email to