Use rman_get_start in preference to reaching into the rman structure.
This commit is contained in:
parent
13a1f014c6
commit
868f939e2e
@ -784,7 +784,7 @@ fdc_alloc_resources(struct fdc_data *fdc)
|
||||
device_printf(dev, "cannot reserve DMA request line\n");
|
||||
return ENXIO;
|
||||
}
|
||||
fdc->dmachan = fdc->res_drq->r_start;
|
||||
fdc->dmachan = rman_get_start(fdc->res_drq);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user