Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 13:36:13 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f66a1f40740c - main - genet: Use device_t in preference to struct device *
Message-ID:  <202104121336.13CDaDR0028967@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

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

commit f66a1f40740c63741b6ebe48cb0cbce9e52ef34e
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-04-12 13:31:58 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-04-12 13:31:58 +0000

    genet: Use device_t in preference to struct device *
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 sys/arm64/broadcom/genet/if_genet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm64/broadcom/genet/if_genet.c b/sys/arm64/broadcom/genet/if_genet.c
index 0fe9f80f4c21..d0fe2b0d5e71 100644
--- a/sys/arm64/broadcom/genet/if_genet.c
+++ b/sys/arm64/broadcom/genet/if_genet.c
@@ -538,7 +538,7 @@ gen_dma_disable(device_t dev)
 static int
 gen_bus_dma_init(struct gen_softc *sc)
 {
-	struct device *dev = sc->dev;
+	device_t dev = sc->dev;
 	int i, error;
 
 	error = bus_dma_tag_create(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104121336.13CDaDR0028967>