aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2025-10-13 10:12:29 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2025-10-13 10:12:29 +0000
commitef56b9188937eec1ceef458d02c71c6b890b398a (patch)
treebdf68084da46b49209b29a060bc5732f10717e1b
parentdd256c3fa738b6941f58355c077224c9a227b169 (diff)
xdma: Use proper prototype for SYSINIT functions
MFC after: 1 week
-rw-r--r--sys/dev/xdma/xdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xdma/xdma.c b/sys/dev/xdma/xdma.c
index 62b781159d03..cdd9ad0b8f39 100644
--- a/sys/dev/xdma/xdma.c
+++ b/sys/dev/xdma/xdma.c
@@ -555,7 +555,7 @@ xdma_put(xdma_controller_t *xdma)
}
static void
-xdma_init(void)
+xdma_init(void *dummy __unused)
{
mtx_init(&xdma_mtx, "xDMA", NULL, MTX_DEF);