Use rman_get_start in preference to reaching into the rman structure.
This commit is contained in:
parent
30230b4fd0
commit
bc8d2181b3
@ -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…
x
Reference in New Issue
Block a user