Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Don't use a4x bus tag



details:   https://anonhg.NetBSD.org/src/rev/31f5022c3388
branches:  trunk
changeset: 994027:31f5022c3388
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Oct 15 23:53:47 2018 +0000

description:
Don't use a4x bus tag

diffstat:

 sys/dev/fdt/pl061gpio_fdt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8d2c59e3e201 -r 31f5022c3388 sys/dev/fdt/pl061gpio_fdt.c
--- a/sys/dev/fdt/pl061gpio_fdt.c       Mon Oct 15 23:50:48 2018 +0000
+++ b/sys/dev/fdt/pl061gpio_fdt.c       Mon Oct 15 23:53:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pl061gpio_fdt.c,v 1.3 2018/10/15 23:50:48 jmcneill Exp $ */
+/* $NetBSD: pl061gpio_fdt.c,v 1.4 2018/10/15 23:53:47 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2018 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pl061gpio_fdt.c,v 1.3 2018/10/15 23:50:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pl061gpio_fdt.c,v 1.4 2018/10/15 23:53:47 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -98,7 +98,7 @@
        }
 
        sc->sc_dev = self;
-       sc->sc_bst = faa->faa_a4x_bst;
+       sc->sc_bst = faa->faa_bst;
        error = bus_space_map(sc->sc_bst, addr, size, 0, &sc->sc_bsh);
        if (error) {
                aprint_error(": couldn't map %#"PRIx64": %d", (uint64_t)addr, error);



Home | Main Index | Thread Index | Old Index