Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix previous misnamed initializer elements



details:   https://anonhg.NetBSD.org/src/rev/3c0ead12a588
branches:  trunk
changeset: 445393:3c0ead12a588
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Oct 27 05:38:08 2018 +0000

description:
Fix previous misnamed initializer elements

committed wrong version of patch, sorry!

diffstat:

 sys/dev/ic/wdc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 5a8d3897e6b8 -r 3c0ead12a588 sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c  Sat Oct 27 05:35:41 2018 +0000
+++ b/sys/dev/ic/wdc.c  Sat Oct 27 05:38:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.290 2018/10/27 05:35:41 maya Exp $ */
+/*     $NetBSD: wdc.c,v 1.291 2018/10/27 05:38:08 maya Exp $ */
 
 /*
  * Copyright (c) 1998, 2001, 2003 Manuel Bouyer.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.290 2018/10/27 05:35:41 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.291 2018/10/27 05:38:08 maya Exp $");
 
 #include "opt_ata.h"
 #include "opt_wdc.h"
@@ -126,9 +126,9 @@
 #else
 /* A fake one, the autoconfig will print "wd at foo ... not configured */
 const struct ata_bustype wdc_ata_bustype = {
-       .bus_type =             SCSIPI_BUSTYPE_ATA,
+       .bustype_type =         SCSIPI_BUSTYPE_ATA,
        .ata_bio =              NULL,
-       .wdc_reset_drive =      NULL,
+       .ata_reset_drive =      NULL,
        .ata_reset_channel =    wdc_reset_channel,
        .ata_exec_command =     wdc_exec_command,
        .ata_get_params =       NULL,



Home | Main Index | Thread Index | Old Index