arm: allwinner: Add pnp info to aw_thermal and compile it as module too
MFC after: 1 month
This commit is contained in:
parent
db0e5bf390
commit
f9b1c6a029
@ -728,3 +728,5 @@ static devclass_t aw_thermal_devclass;
|
||||
DRIVER_MODULE(aw_thermal, simplebus, aw_thermal_driver, aw_thermal_devclass,
|
||||
0, 0);
|
||||
MODULE_VERSION(aw_thermal, 1);
|
||||
MODULE_DEPEND(aw_thermal, aw_sid, 1, 1, 1);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
|
@ -4,5 +4,6 @@
|
||||
SUBDIR = \
|
||||
aw_sid \
|
||||
aw_spi \
|
||||
aw_thermal
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
14
sys/modules/allwinner/aw_thermal/Makefile
Normal file
14
sys/modules/allwinner/aw_thermal/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/arm/allwinner
|
||||
|
||||
KMOD= aw_thermal
|
||||
SRCS= aw_thermal.c
|
||||
|
||||
SRCS+= \
|
||||
bus_if.h \
|
||||
clknode_if.h \
|
||||
device_if.h \
|
||||
ofw_bus_if.h \
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
x
Reference in New Issue
Block a user