summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-06-26 01:40:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-06-26 01:40:50 +0000
commitdcedd4374abb6f3456f8d6bc995601732ffaacf4 (patch)
treed1505a7186d140aa1f41f3c8e28a12c551ba400a /sys/dev/mii
parentf02c64296a18ec9595fe6efcb29e617c260ba9b9 (diff)
return type on a dedicated line when declaring functions
ok mglocker@
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/eephy.c5
-rw-r--r--sys/dev/mii/xmphy.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/mii/eephy.c b/sys/dev/mii/eephy.c
index 2e2ffe8c26b..58a19a4ba99 100644
--- a/sys/dev/mii/eephy.c
+++ b/sys/dev/mii/eephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eephy.c,v 1.65 2024/03/17 00:06:43 patrick Exp $ */
+/* $OpenBSD: eephy.c,v 1.66 2024/06/26 01:40:49 jsg Exp $ */
/*
* Principal Author: Parag Patel
* Copyright (c) 2001
@@ -443,7 +443,8 @@ eephy_status(struct mii_softc *sc)
}
#ifdef __HAVE_FDT
-void eephy_fdt_reg_init(struct mii_softc *sc)
+void
+eephy_fdt_reg_init(struct mii_softc *sc)
{
uint32_t *prop, opage;
int i, len;
diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c
index fdc537ac371..a901002f3cd 100644
--- a/sys/dev/mii/xmphy.c
+++ b/sys/dev/mii/xmphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xmphy.c,v 1.25 2024/05/27 04:58:43 jsg Exp $ */
+/* $OpenBSD: xmphy.c,v 1.26 2024/06/26 01:40:49 jsg Exp $ */
/*
* Copyright (c) 2000
@@ -85,7 +85,8 @@ static const struct mii_phydesc xmphys[] = {
NULL },
};
-int xmphy_probe(struct device *parent, void *match, void *aux)
+int
+xmphy_probe(struct device *parent, void *match, void *aux)
{
struct mii_attach_args *ma = aux;