diff --git a/sys/arm/allwinner/aw_thermal.c b/sys/arm/allwinner/aw_thermal.c index 89bf89559bcb..9edfdb98569b 100644 --- a/sys/arm/allwinner/aw_thermal.c +++ b/sys/arm/allwinner/aw_thermal.c @@ -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); diff --git a/sys/modules/allwinner/Makefile b/sys/modules/allwinner/Makefile index 98e22678f28e..111d657badd9 100644 --- a/sys/modules/allwinner/Makefile +++ b/sys/modules/allwinner/Makefile @@ -4,5 +4,6 @@ SUBDIR = \ aw_sid \ aw_spi \ + aw_thermal .include diff --git a/sys/modules/allwinner/aw_thermal/Makefile b/sys/modules/allwinner/aw_thermal/Makefile new file mode 100644 index 000000000000..804fbc6db0d3 --- /dev/null +++ b/sys/modules/allwinner/aw_thermal/Makefile @@ -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