Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/arch/i386/pci gscpcib_rescan(): "gpiobus" doesn...



details:   https://anonhg.NetBSD.org/src/rev/6e97fd183344
branches:  thorpej-cfargs
changeset: 953959:6e97fd183344
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Mar 26 02:05:02 2021 +0000

description:
gscpcib_rescan(): "gpiobus" doesn't have locators, so no need to pass any
to config_found().

diffstat:

 sys/arch/i386/pci/gscpcib.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 7839d7d26600 -r 6e97fd183344 sys/arch/i386/pci/gscpcib.c
--- a/sys/arch/i386/pci/gscpcib.c       Fri Mar 26 02:04:02 2021 +0000
+++ b/sys/arch/i386/pci/gscpcib.c       Fri Mar 26 02:05:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gscpcib.c,v 1.18.66.1 2021/03/22 02:00:57 thorpej Exp $        */
+/*     $NetBSD: gscpcib.c,v 1.18.66.2 2021/03/26 02:05:02 thorpej Exp $        */
 /*     $OpenBSD: gscpcib.c,v 1.3 2004/10/05 19:02:33 grange Exp $      */
 /*
  * Copyright (c) 2004 Alexander Yurchenko <grange%openbsd.org@localhost>
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gscpcib.c,v 1.18.66.1 2021/03/22 02:00:57 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gscpcib.c,v 1.18.66.2 2021/03/26 02:05:02 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -101,7 +101,6 @@
 
                sc->sc_gpiobus = config_found(self, &gba, gpiobus_print,
                    CFARG_IATTR, "gpiobus",
-                   CFARG_LOCATORS, loc,
                    CFARG_EOL);
                return 0;
        }



Home | Main Index | Thread Index | Old Index