git: 304ac69eca62 - main - puc: Make kernel module working

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 29 May 2024 17:09:40 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=304ac69eca623d63510aa61853adc1ea60593323

commit 304ac69eca623d63510aa61853adc1ea60593323
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-05-29 17:07:51 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-05-29 17:07:51 +0000

    puc: Make kernel module working
    
    We need uart_bus_puc.c in the module for it to work.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sys/modules/puc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/modules/puc/Makefile b/sys/modules/puc/Makefile
index 6e14ce0ed268..cfd48bee5ff9 100644
--- a/sys/modules/puc/Makefile
+++ b/sys/modules/puc/Makefile
@@ -1,8 +1,8 @@
 
-.PATH:	${SRCTOP}/sys/dev/puc
+.PATH:	${SRCTOP}/sys/dev/puc ${SRCTOP}/sys/dev/uart/
 
 KMOD=	puc
-SRCS=	puc.c puc_cfg.c puc_pci.c
+SRCS=	puc.c puc_cfg.c puc_pci.c uart_bus_puc.c
 SRCS+=	bus_if.h device_if.h serdev_if.c serdev_if.h pci_if.h
 
 .include <bsd.kmod.mk>