From fe7954d723f85abd6eaf035db92a3a60a7803eb4 Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Wed, 22 Oct 2025 11:29:37 -0300 Subject: [PATCH] modules/allwinner: add nvmem_if.h to SRCS Ensure the header is generated; it is a dependency for these drivers. This fixes standalone module builds and riscv LINT. Reported by: zlei Sponsored by: The FreeBSD Foundation Fixes: 5522519731b7 ("modules: enable allwinner kmods on riscv") --- sys/modules/allwinner/aw_sid/Makefile | 3 ++- sys/modules/allwinner/aw_thermal/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/modules/allwinner/aw_sid/Makefile b/sys/modules/allwinner/aw_sid/Makefile index 7d3dad68acb..2679aa83d09 100644 --- a/sys/modules/allwinner/aw_sid/Makefile +++ b/sys/modules/allwinner/aw_sid/Makefile @@ -7,6 +7,7 @@ SRCS+= \ bus_if.h \ clknode_if.h \ device_if.h \ - ofw_bus_if.h \ + nvmem_if.h \ + ofw_bus_if.h .include diff --git a/sys/modules/allwinner/aw_thermal/Makefile b/sys/modules/allwinner/aw_thermal/Makefile index 911e6406d94..924b09a3b3c 100644 --- a/sys/modules/allwinner/aw_thermal/Makefile +++ b/sys/modules/allwinner/aw_thermal/Makefile @@ -7,6 +7,7 @@ SRCS+= \ bus_if.h \ clknode_if.h \ device_if.h \ - ofw_bus_if.h \ + nvmem_if.h \ + ofw_bus_if.h .include