Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mmeye/include bus_dma_segment_t should be a structu...



details:   https://anonhg.NetBSD.org/src/rev/b8982fb5959b
branches:  trunk
changeset: 763524:b8982fb5959b
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Mar 23 13:01:04 2011 +0000

description:
bus_dma_segment_t should be a structure, not a pointer.

diffstat:

 sys/arch/mmeye/include/bus.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8da3253db8ae -r b8982fb5959b sys/arch/mmeye/include/bus.h
--- a/sys/arch/mmeye/include/bus.h      Wed Mar 23 12:59:44 2011 +0000
+++ b/sys/arch/mmeye/include/bus.h      Wed Mar 23 13:01:04 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.2 2011/03/22 05:37:37 kiyohara Exp $ */
+/*     $NetBSD: bus.h,v 1.3 2011/03/23 13:01:04 tsutsui Exp $  */
 
 #ifndef _MMEYE_BUS_H_
 #define _MMEYE_BUS_H_
@@ -14,7 +14,7 @@
 typedef struct bus_dma_segment {
        bus_addr_t ds_addr;
        bus_size_t ds_len;
-} *bus_dma_segment_t;
+} bus_dma_segment_t;
 
 typedef struct bus_dmamap {
        bus_size_t dm_maxsegsz;



Home | Main Index | Thread Index | Old Index