summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-05-22 09:52:27 +0000
committerpatrick <patrick@openbsd.org>2020-05-22 09:52:27 +0000
commit350fe6fe5dbd48b38c18efa5aad112e88f903cc1 (patch)
treee42ebfaf9ab1ce7ba803b3e91e1b52616f225817
parentActually store the node in the softc. Missed chunk from the previous (diff)
downloadwireguard-openbsd-350fe6fe5dbd48b38c18efa5aad112e88f903cc1.tar.xz
wireguard-openbsd-350fe6fe5dbd48b38c18efa5aad112e88f903cc1.zip
And add the node to the struct. Sometimes I maybe shouldn't try spliting
up diffs before committing.
-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 bc571eb5da7..43452b65d50 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.9 2020/05/22 09:44:31 patrick Exp $ */
+/* $OpenBSD: sdhc_fdt.c,v 1.10 2020/05/22 09:52:27 patrick Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
@@ -48,6 +48,7 @@ struct sdhc_fdt_softc {
bus_space_handle_t sc_ioh;
bus_size_t sc_size;
void *sc_ih;
+ int sc_node;
uint32_t sc_gpio[3];
struct sdhc_host *sc_host;