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)
This commit is contained in:
Luiz Otavio O Souza 2015-08-17 17:01:26 +00:00
parent 978cdbedcd
commit 1dd2aa86b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286846

View File

@ -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/