Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Update some missed _close() and _open() function...
details: https://anonhg.NetBSD.org/src/rev/93c05638cc96
branches: trunk
changeset: 586322:93c05638cc96
user: abs <abs%NetBSD.org@localhost>
date: Tue Dec 13 20:55:46 2005 +0000
description:
Update some missed _close() and _open() functions from 'struct proc *p'
to 'struct lwp *l'.
diffstat:
sys/dev/i2c/at24cxx.c | 6 +++---
sys/dev/i2c/ds1307.c | 6 +++---
sys/dev/i2c/m41st84.c | 6 +++---
sys/dev/i2c/max6900.c | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diffs (108 lines):
diff -r b9e1cb77bbc1 -r 93c05638cc96 sys/dev/i2c/at24cxx.c
--- a/sys/dev/i2c/at24cxx.c Tue Dec 13 19:27:56 2005 +0000
+++ b/sys/dev/i2c/at24cxx.c Tue Dec 13 20:55:46 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: at24cxx.c,v 1.3 2005/12/11 12:21:22 christos Exp $ */
+/* $NetBSD: at24cxx.c,v 1.4 2005/12/13 20:55:46 abs Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -165,7 +165,7 @@
/*ARGSUSED*/
int
-seeprom_open(dev_t dev, int flag, int fmt, struct proc *p)
+seeprom_open(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct seeprom_softc *sc;
@@ -183,7 +183,7 @@
/*ARGSUSED*/
int
-seeprom_close(dev_t dev, int flag, int fmt, struct proc *p)
+seeprom_close(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct seeprom_softc *sc;
diff -r b9e1cb77bbc1 -r 93c05638cc96 sys/dev/i2c/ds1307.c
--- a/sys/dev/i2c/ds1307.c Tue Dec 13 19:27:56 2005 +0000
+++ b/sys/dev/i2c/ds1307.c Tue Dec 13 20:55:46 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ds1307.c,v 1.3 2005/12/11 12:21:22 christos Exp $ */
+/* $NetBSD: ds1307.c,v 1.4 2005/12/13 20:55:46 abs Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -116,7 +116,7 @@
/*ARGSUSED*/
int
-dsrtc_open(dev_t dev, int flag, int fmt, struct proc *p)
+dsrtc_open(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct dsrtc_softc *sc;
@@ -134,7 +134,7 @@
/*ARGSUSED*/
int
-dsrtc_close(dev_t dev, int flag, int fmt, struct proc *p)
+dsrtc_close(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct dsrtc_softc *sc;
diff -r b9e1cb77bbc1 -r 93c05638cc96 sys/dev/i2c/m41st84.c
--- a/sys/dev/i2c/m41st84.c Tue Dec 13 19:27:56 2005 +0000
+++ b/sys/dev/i2c/m41st84.c Tue Dec 13 20:55:46 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m41st84.c,v 1.5 2005/12/11 12:21:22 christos Exp $ */
+/* $NetBSD: m41st84.c,v 1.6 2005/12/13 20:55:46 abs Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -116,7 +116,7 @@
/*ARGSUSED*/
int
-strtc_open(dev_t dev, int flag, int fmt, struct proc *p)
+strtc_open(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct strtc_softc *sc;
@@ -134,7 +134,7 @@
/*ARGSUSED*/
int
-strtc_close(dev_t dev, int flag, int fmt, struct proc *p)
+strtc_close(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct strtc_softc *sc;
diff -r b9e1cb77bbc1 -r 93c05638cc96 sys/dev/i2c/max6900.c
--- a/sys/dev/i2c/max6900.c Tue Dec 13 19:27:56 2005 +0000
+++ b/sys/dev/i2c/max6900.c Tue Dec 13 20:55:46 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: max6900.c,v 1.3 2005/12/11 12:21:23 christos Exp $ */
+/* $NetBSD: max6900.c,v 1.4 2005/12/13 20:55:46 abs Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -118,7 +118,7 @@
/*ARGSUSED*/
int
-maxrtc_open(dev_t dev, int flag, int fmt, struct proc *p)
+maxrtc_open(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct maxrtc_softc *sc;
@@ -136,7 +136,7 @@
/*ARGSUSED*/
int
-maxrtc_close(dev_t dev, int flag, int fmt, struct proc *p)
+maxrtc_close(dev_t dev, int flag, int fmt, struct lwp *l)
{
struct maxrtc_softc *sc;
Home |
Main Index |
Thread Index |
Old Index