genet: Use device_t in preference to struct device *

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2021-04-12 09:31:58 -04:00
parent 5e98cae661
commit f66a1f4074

View File

@ -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(