Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pud Third argument of MODULE() is typically a string...
details: https://anonhg.NetBSD.org/src/rev/5b14d4463fc0
branches: trunk
changeset: 761763:5b14d4463fc0
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon Feb 07 03:14:28 2011 +0000
description:
Third argument of MODULE() is typically a string literal.
Moreover it (at least sometimes) didn't build otherwise.
diffstat:
sys/dev/pud/pud.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 25feb72cbbdc -r 5b14d4463fc0 sys/dev/pud/pud.c
--- a/sys/dev/pud/pud.c Mon Feb 07 03:03:16 2011 +0000
+++ b/sys/dev/pud/pud.c Mon Feb 07 03:14:28 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pud.c,v 1.9 2011/01/28 23:54:28 haad Exp $ */
+/* $NetBSD: pud.c,v 1.10 2011/02/07 03:14:28 jakllsch Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.9 2011/01/28 23:54:28 haad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.10 2011/02/07 03:14:28 jakllsch Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -383,7 +383,7 @@
mutex_init(&pud_mtx, MUTEX_DEFAULT, IPL_NONE);
}
-MODULE(MODULE_CLASS_DRIVER, pud, putter);
+MODULE(MODULE_CLASS_DRIVER, pud, "putter");
static int
pud_modcmd(modcmd_t cmd, void *arg)
Home |
Main Index |
Thread Index |
Old Index