genet: Use device_t in preference to struct device *
MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5e98cae661
commit
f66a1f4074
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user