1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

Add missing file to gpiobus module

ofw_gpiobus.c is needed when FDT is used.

MFC after:	2 weeks
This commit is contained in:
Justin Hibbits 2018-01-07 20:28:17 +00:00
parent ac579135b0
commit f1a48eaf0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327681

View File

@ -36,6 +36,10 @@ SRCS= gpiobus.c gpioc.c
SRCS+= gpio_if.c gpio_if.h gpiobus_if.c gpiobus_if.h ofw_bus_if.h
SRCS+= device_if.h bus_if.h opt_platform.h
.if !empty(OPT_FDT)
SRCS+= ofw_gpiobus.c
.endif
CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/
.include <bsd.kmod.mk>