summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/armv7/sunxi/sxipio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/armv7/sunxi/sxipio.c b/sys/arch/armv7/sunxi/sxipio.c
index 66c0dc08301..8c643ce0de9 100644
--- a/sys/arch/armv7/sunxi/sxipio.c
+++ b/sys/arch/armv7/sunxi/sxipio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxipio.c,v 1.2 2013/10/23 18:01:52 jasper Exp $ */
+/* $OpenBSD: sxipio.c,v 1.3 2013/10/31 17:15:19 jasper Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
* Copyright (c) 2013 Artturi Alm
@@ -219,7 +219,9 @@ next:
gba.gba_pins = &sc->sc_gpio_pins[port][0];
gba.gba_npins = pin;
+#if NGPIO > 0
config_found(&sc->sc_dev, &gba, gpiobus_print);
+#endif
pin = 0;
if (++port < SXIPIO_NPORT)