summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/sximmc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-22 02:44:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-22 02:44:38 +0000
commit87ecdde26e45a0f8ca6e133c64a3235817d18d34 (patch)
tree46d67e93f70c34f7e66bbfb48d695bd6e495807f /sys/dev/fdt/sximmc.c
parentbdc592e68e2792cb8649493bdc7e829ee6d77bcf (diff)
double ;;. xhci one found by geoffhill
Diffstat (limited to 'sys/dev/fdt/sximmc.c')
-rw-r--r--sys/dev/fdt/sximmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/sximmc.c b/sys/dev/fdt/sximmc.c
index 39d339607ef..008ea70d2b9 100644
--- a/sys/dev/fdt/sximmc.c
+++ b/sys/dev/fdt/sximmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sximmc.c,v 1.1 2017/01/21 08:26:49 patrick Exp $ */
+/* $OpenBSD: sximmc.c,v 1.2 2017/06/22 02:44:37 deraadt Exp $ */
/* $NetBSD: awin_mmc.c,v 1.23 2015/11/14 10:32:40 bouyer Exp $ */
/*-
@@ -611,7 +611,7 @@ sximmc_card_detect(sdmmc_chipset_handle_t sch)
val = gpio_controller_get_pin(sc->sc_gpio);
inverted = (OF_getproplen(sc->sc_node, "cd-inverted") == 0);
- return inverted ? !val : val;;
+ return inverted ? !val : val;
}
int