git: fe7954d723f8 - main - modules/allwinner: add nvmem_if.h to SRCS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Oct 2025 14:35:46 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=fe7954d723f85abd6eaf035db92a3a60a7803eb4
commit fe7954d723f85abd6eaf035db92a3a60a7803eb4
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2025-10-22 14:29:37 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2025-10-22 14:35:25 +0000
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 7d3dad68acb9..2679aa83d09d 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 <bsd.kmod.mk>
diff --git a/sys/modules/allwinner/aw_thermal/Makefile b/sys/modules/allwinner/aw_thermal/Makefile
index 911e6406d947..924b09a3b3c8 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 <bsd.kmod.mk>