Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/uebayasi-xip]: src/sys/dev Correctly hook flash_open/flash_close in cdev...



details:   https://anonhg.NetBSD.org/src/rev/1bcaa037b2ed
branches:  uebayasi-xip
changeset: 751795:1bcaa037b2ed
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Aug 28 16:25:39 2010 +0000

description:
Correctly hook flash_open/flash_close in cdevsw too.

diffstat:

 sys/dev/flash.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f591fc019537 -r 1bcaa037b2ed sys/dev/flash.c
--- a/sys/dev/flash.c   Sat Aug 28 16:24:33 2010 +0000
+++ b/sys/dev/flash.c   Sat Aug 28 16:25:39 2010 +0000
@@ -1,4 +1,4 @@
-/*     $Id: flash.c,v 1.1.2.13 2010/08/20 07:03:23 uebayasi Exp $      */
+/*     $Id: flash.c,v 1.1.2.14 2010/08/28 16:25:39 uebayasi Exp $      */
 
 /*-
  * Copyright (c) 2010 Tsubai Masanari.  All rights reserved.
@@ -52,7 +52,7 @@
 };
 
 struct cdevsw flash_cdevsw = {
-       nullopen, nullclose, nullread, nowrite, flash_ioctl,
+       flash_open, flash_close, nullread, nowrite, flash_ioctl,
        nostop, notty, nopoll, flash_mmap, nokqfilter, D_DISK | D_MPSAFE
 };
 



Home | Main Index | Thread Index | Old Index