summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2015-08-17 17:01:26 +0000
committerloos <loos@FreeBSD.org>2015-08-17 17:01:26 +0000
commit2d9bfcd1ff1b5a2d353573ee6c169576cc0c9ea8 (patch)
tree5d904ee4d2248ff023fc968aafc63a29b0f1653e
parent6ed8303443daf71658effa04d1ed040f1e208034 (diff)
downloadFreeBSD-src-2d9bfcd1ff1b5a2d353573ee6c169576cc0c9ea8.zip
FreeBSD-src-2d9bfcd1ff1b5a2d353573ee6c169576cc0c9ea8.tar.gz
Fix the build of gpiobus as a module.
Add the missing newbus interfaces and gpioc, which is part of basic gpiobus framework. Sponsored by: Rubicon Communications (Netgate)
-rw-r--r--sys/modules/gpio/gpiobus/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/modules/gpio/gpiobus/Makefile b/sys/modules/gpio/gpiobus/Makefile
index e868cba..2a3f86d 100644
--- a/sys/modules/gpio/gpiobus/Makefile
+++ b/sys/modules/gpio/gpiobus/Makefile
@@ -32,8 +32,9 @@
.PATH: ${.CURDIR}/../../../dev/gpio/
KMOD= gpiobus
-SRCS= gpiobus.c
-SRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h opt_platform.h
+SRCS= gpiobus.c gpioc.c
+SRCS+= gpio_if.c gpio_if.h gpiobus_if.c gpiobus_if.h
+SRCS+= device_if.h bus_if.h opt_platform.h
CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/
OpenPOWER on IntegriCloud