summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-05-22 09:44:32 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-05-22 09:44:32 +0000
commit009a19d7590b0e117206b400e23d10b9fe798c7f (patch)
treeb1d933ee79eaf480fd5d5fcf7d8e1b70f91a4a66 /sys/dev
parentb4e03b0cb3ca0c5599a4144c05514bb5b7d75569 (diff)
Actually store the node in the softc. Missed chunk from the previous
commit.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdt/sdhc_fdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/sdhc_fdt.c b/sys/dev/fdt/sdhc_fdt.c
index 154d159bee2..bc571eb5da7 100644
--- a/sys/dev/fdt/sdhc_fdt.c
+++ b/sys/dev/fdt/sdhc_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhc_fdt.c,v 1.8 2020/05/22 09:41:33 patrick Exp $ */
+/* $OpenBSD: sdhc_fdt.c,v 1.9 2020/05/22 09:44:31 patrick Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
@@ -90,6 +90,7 @@ sdhc_fdt_attach(struct device *parent, struct device *self, void *aux)
sc->sc_iot = faa->fa_iot;
sc->sc_size = faa->fa_reg[0].size;
+ sc->sc_node = faa->fa_node;
if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
faa->fa_reg[0].size, 0, &sc->sc_ioh)) {