diff options
| author | haad <haad@NetBSD.org> | 2009-01-14 00:53:44 +0000 |
|---|---|---|
| committer | haad <haad@NetBSD.org> | 2009-01-14 00:53:44 +0000 |
| commit | 4768b70dfe2b6295e7e11323b7798257600f2d82 (patch) | |
| tree | ffda0ce50f5a4754e6f0dd78cff9dd9a66579403 /sys/modules/example | |
| parent | 2cebf05ce31ff17065dd91ae5695ca724e6de658 (diff) | |
Add comment about adding module dependiences to MODULE macro.
Diffstat (limited to 'sys/modules/example')
| -rw-r--r-- | sys/modules/example/example.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/modules/example/example.c b/sys/modules/example/example.c index a7c5bda08cc..c16d14f9b31 100644 --- a/sys/modules/example/example.c +++ b/sys/modules/example/example.c @@ -1,4 +1,4 @@ -/* $NetBSD: example.c,v 1.3 2008/04/28 20:24:09 martin Exp $ */ +/* $NetBSD: example.c,v 1.4 2009/01/14 00:53:44 haad Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -27,12 +27,17 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: example.c,v 1.3 2008/04/28 20:24:09 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: example.c,v 1.4 2009/01/14 00:53:44 haad Exp $"); #include <sys/param.h> #include <sys/kernel.h> #include <sys/module.h> +/* + * Last parameter of MODULE macro is name of modules on + * which defined module depends. + */ + MODULE(MODULE_CLASS_MISC, example, NULL); static |
