aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dc/pnphy.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-10-14 22:31:52 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-10-14 22:31:52 +0000
commit9c1c2e99243d6d70c79925621e17e2b7babfc8c3 (patch)
tree7af13e44af93cccd796d1cc59405dfdea469fb35 /sys/dev/dc/pnphy.c
parent413f5a8addcfdd9290f54fcf21bfad1e6125324f (diff)
downloadsrc-9c1c2e99243d6d70c79925621e17e2b7babfc8c3.tar.gz
src-9c1c2e99243d6d70c79925621e17e2b7babfc8c3.zip
Put function return types on a line by themselves.
Cleanup my earlier de-__P sweep and remove whitespace between function names and paramters.
Notes
Notes: svn path=/head/; revision=105135
Diffstat (limited to 'sys/dev/dc/pnphy.c')
-rw-r--r--sys/dev/dc/pnphy.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c
index 9b1ec55d2e09..4a38b463559a 100644
--- a/sys/dev/dc/pnphy.c
+++ b/sys/dev/dc/pnphy.c
@@ -80,8 +80,8 @@ static const char rcsid[] =
CSR_WRITE_4(sc, reg, \
CSR_READ_4(sc, reg) & ~x)
-static int pnphy_probe (device_t);
-static int pnphy_attach (device_t);
+static int pnphy_probe(device_t);
+static int pnphy_attach(device_t);
static device_method_t pnphy_methods[] = {
/* device interface */
@@ -105,7 +105,8 @@ DRIVER_MODULE(pnphy, miibus, pnphy_driver, pnphy_devclass, 0, 0);
static int pnphy_service(struct mii_softc *, struct mii_data *, int);
static void pnphy_status(struct mii_softc *);
-static int pnphy_probe(dev)
+static int
+pnphy_probe(dev)
device_t dev;
{
struct mii_attach_args *ma;
@@ -125,7 +126,8 @@ static int pnphy_probe(dev)
return (0);
}
-static int pnphy_attach(dev)
+static int
+pnphy_attach(dev)
device_t dev;
{
struct mii_softc *sc;