Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Use SYSCTL_DESCR()
details: https://anonhg.NetBSD.org/src/rev/76f12429fc5d
branches: trunk
changeset: 757179:76f12429fc5d
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Aug 17 23:36:51 2010 +0000
description:
Use SYSCTL_DESCR()
diffstat:
sys/dev/i2c/dbcool.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 0b4a973062af -r 76f12429fc5d sys/dev/i2c/dbcool.c
--- a/sys/dev/i2c/dbcool.c Tue Aug 17 22:24:04 2010 +0000
+++ b/sys/dev/i2c/dbcool.c Tue Aug 17 23:36:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dbcool.c,v 1.24 2010/04/10 19:02:39 pgoyette Exp $ */
+/* $NetBSD: dbcool.c,v 1.25 2010/08/17 23:36:51 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.24 2010/04/10 19:02:39 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.25 2010/08/17 23:36:51 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1647,7 +1647,7 @@
ret = sysctl_createv(NULL, 0, NULL,
(const struct sysctlnode **)&node, rw_flag,
CTLTYPE_INT, name,
- dbc_sysctl_table[sysctl_index].desc,
+ SYSCTL_DESCR(dbc_sysctl_table[sysctl_index].desc),
dbc_sysctl_table[sysctl_index].helper,
0, sc, sizeof(int),
CTL_HW, sc->sc_root_sysctl_num,
@@ -1694,7 +1694,7 @@
(j == DBC_PWM_BEHAVIOR)?
CTLTYPE_STRING:CTLTYPE_INT,
name,
- dbc_sysctl_table[j].desc,
+ SYSCTL_DESCR(dbc_sysctl_table[j].desc),
dbc_sysctl_table[j].helper,
0, sc,
( j == DBC_PWM_BEHAVIOR)?
Home |
Main Index |
Thread Index |
Old Index