Add missing file to gpiobus module
ofw_gpiobus.c is needed when FDT is used. MFC after: 2 weeks
This commit is contained in:
parent
ac579135b0
commit
f1a48eaf0d
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user